Browse Source
* parser-defs.h (prev_lexptr): New external variable. * parse.c (parse_exp_1): Set prev_lexptr to null before calling the language-specific parser. * c-exp.y (yylex): Set prev_lexptr to start of current token. (yyerror): Use prev_lexptr in error reporting.binutils-2_13-branch
4 changed files with 18 additions and 0 deletions
Loading…
Reference in new issue