Remove ; )
This commit is contained in:
parent
7b89fcbf1f
commit
51662cea3e
@ -446,10 +446,6 @@ ParseReturn parse_f(vector<Token> tokens) {
|
||||
ParseReturn ret = parse_expr(tokens);
|
||||
tokens=ret.tokens;
|
||||
|
||||
_debug_print_tokens(tokens);
|
||||
|
||||
CodePosition pos = tokens.back().pos;
|
||||
cout << pos.line << ";" << pos.column << endl;
|
||||
if (tokens.size() < 1 || tokens.back().type != TokenType::RParenthese)
|
||||
throw SyntaxError("Missing ')'", tokens.back().pos);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user