Fix --
This commit is contained in:
parent
4cff82dd04
commit
17fe400e8c
|
@ -47,7 +47,7 @@ defs[-1] = function(state, token, rule)
|
||||||
error("Unknown option: " .. token)
|
error("Unknown option: " .. token)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
defs['--'] = parser.selfify({[""] = defs[""]})
|
defs['--'] = parser.selfify({[""] = defs[""], [parser.EOZ] = defs[parser.EOZ]})
|
||||||
|
|
||||||
local state = parser.parse(defs, arg)
|
local state = parser.parse(defs, arg)
|
||||||
local luatokens = require "luatokens"
|
local luatokens = require "luatokens"
|
||||||
|
|
Loading…
Reference in New Issue