Generate enum of token identifiers

This commit is contained in:
josh committed 2021-06-23 22:22:45 -04:00
1 parent ebc1d8f001
commit 5881f13380
2 files changed
+10

No files matched your search

+4
View File
@@ -28,6 +28,10 @@ module Imbecile
@nfa = regex.nfa
end
def c_name
@name.upcase
end
def to_s
@name
end