Generate enum of token identifiers
This commit is contained in:
1 parent
ebc1d8f001
commit
5881f13380
2 files changed
+10
No files matched your search
@@ -28,6 +28,10 @@ module Imbecile
|
||||
@nfa = regex.nfa
|
||||
end
|
||||
|
||||
def c_name
|
||||
@name.upcase
|
||||
end
|
||||
|
||||
def to_s
|
||||
@name
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user