2002-04-24 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 24 Apr 2002 22:26:32 +0000 (22:26 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 24 Apr 2002 22:26:32 +0000 (22:26 +0000)
commit665132f945eb6865fb7b86affb68c4019d46c36f
treef9721bbac2b2833b462f4b8b0309246c2119c037
parent6ff9af88cb43cdc514a673322e4247fc138cecdc
2002-04-24  Michael Snyder  <msnyder@redhat.com>

* 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.
gdb/ChangeLog
gdb/c-exp.y
gdb/parse.c
gdb/parser-defs.h