Add TOKEN enum entries for EOF, decode error, drop, and none

This commit is contained in:
josh committed 2021-07-05 20:11:55 -04:00
1 parent 91d6ee25ea
commit 24d12be3b9
2 files changed
+7

No files matched your search

+4
View File
@@ -78,6 +78,10 @@ class <%= classname %>
TOKEN_<%= token.c_name %> = <%= index %>,
<% end %>
<% end %>
TOKEN_EOF = <%= TOKEN_EOF %>,
TOKEN_DECODE_ERROR = <%= TOKEN_DECODE_ERROR %>,
TOKEN_DROP = <%= TOKEN_DROP %>,
TOKEN_NONE = <%= TOKEN_NONE %>,
}
static immutable string TokenNames[] = [
+3
View File
@@ -17,6 +17,9 @@ require_relative "imbecile/version"
module Imbecile
# EOF.
TOKEN_EOF = 0xFFFFFFFC
# Decoding error.
TOKEN_DECODE_ERROR = 0xFFFFFFFD