* parse.c (write_dollar_variable): New function.
authorPer Bothner <per@bothner.com>
Thu, 5 Oct 1995 22:15:49 +0000 (22:15 +0000)
committerPer Bothner <per@bothner.com>
Thu, 5 Oct 1995 22:15:49 +0000 (22:15 +0000)
commitc700638ca7c1c0d0dd2fac7983b2d59ca7217099
tree26f626fff3ab5bc27552c5492ee56a42666f3f9c
parentdb552bdadca2fda93c84cfa89dd41b49ee9e9193
* parse.c (write_dollar_variable):  New function.
* c-exp.y (yylex):  Replace code for recognizing '$' pseudo-variables
with a call to write_dollar_variable.
Simplify grammar correspondingly.
* f-exp.y:  Likewise.
* m2-exp.y:  Likewise.
* ch-exp.y:  Likewise.  (Remove function match_dollar_tokens.)
* scm-exp.c (scm_lreadr):  Call write_dollar_variable to handle '$'.
gdb/ChangeLog
gdb/c-exp.y
gdb/ch-exp.y
gdb/f-exp.y
gdb/m2-exp.y
gdb/parse.c
gdb/scm-exp.c