Adding an unrecognized keywords error

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-23 21:41:50 +01:00
parent ab55673c35
commit 6df6906ed2

View file

@ -3719,6 +3719,7 @@ static bool parser_global_statement(parser_t *parser)
}
return parse_variable(parser, NULL, true);
}
parseerror(parser, "unrecognized keyword `%s`", parser_tokval(parser));
return false;
}
else if (parser->tok == '$')