diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2019-04-10 19:44:38 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2019-04-10 19:44:38 -0300 |
commit | 17fe400e8c76767689ed181b4928443b08f4f4e6 (patch) | |
tree | a0afc4ed8c592495c8e8e214102bbb8216746420 | |
parent | 4cff82dd045c8acf5820768d7195327082d55950 (diff) |
Fix --
-rw-r--r-- | printtokens.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printtokens.lua b/printtokens.lua index bf52803..0b3b5b5 100644 --- a/printtokens.lua +++ b/printtokens.lua @@ -47,7 +47,7 @@ defs[-1] = function(state, token, rule) error("Unknown option: " .. token) end end -defs['--'] = parser.selfify({[""] = defs[""]}) +defs['--'] = parser.selfify({[""] = defs[""], [parser.EOZ] = defs[parser.EOZ]}) local state = parser.parse(defs, arg) local luatokens = require "luatokens" |