This commit is contained in:
SoniEx2 2019-04-10 19:44:38 -03:00
parent 4cff82dd04
commit 17fe400e8c
1 changed files with 1 additions and 1 deletions

View File

@ -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"