Add TOKEN enum entries for EOF, decode error, drop, and none
This commit is contained in:
parent
91d6ee25ea
commit
24d12be3b9
@ -78,6 +78,10 @@ class <%= classname %>
|
|||||||
TOKEN_<%= token.c_name %> = <%= index %>,
|
TOKEN_<%= token.c_name %> = <%= index %>,
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
TOKEN_EOF = <%= TOKEN_EOF %>,
|
||||||
|
TOKEN_DECODE_ERROR = <%= TOKEN_DECODE_ERROR %>,
|
||||||
|
TOKEN_DROP = <%= TOKEN_DROP %>,
|
||||||
|
TOKEN_NONE = <%= TOKEN_NONE %>,
|
||||||
}
|
}
|
||||||
|
|
||||||
static immutable string TokenNames[] = [
|
static immutable string TokenNames[] = [
|
||||||
|
@ -17,6 +17,9 @@ require_relative "imbecile/version"
|
|||||||
|
|
||||||
module Imbecile
|
module Imbecile
|
||||||
|
|
||||||
|
# EOF.
|
||||||
|
TOKEN_EOF = 0xFFFFFFFC
|
||||||
|
|
||||||
# Decoding error.
|
# Decoding error.
|
||||||
TOKEN_DECODE_ERROR = 0xFFFFFFFD
|
TOKEN_DECODE_ERROR = 0xFFFFFFFD
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user