Commit c9730554 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(lexer.__bad_arg): Added a missing __unget_token to get a better error message.

parent 79fdc8a5
......@@ -335,6 +335,7 @@ class lexer:
ok = 0
if not ok:
if arg == '))':
self.__unget_token(arg)
self.error(self.__reader.line_no(),
"extra semicolon after last arg")
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment