diff options
author | Tom Tromey <tom@tromey.com> | 2019-01-02 19:22:44 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-01-06 09:39:34 -0700 |
commit | 9d30e1fd7cfc742b03b7d973e511f7bfe5cfc295 (patch) | |
tree | 4de336eda1ecf3edf3648abd361b357d2fa65525 /gdb/source.h | |
parent | c65bac3846567a8068fe4aa5cfa79da5b193a1af (diff) | |
download | binutils-9d30e1fd7cfc742b03b7d973e511f7bfe5cfc295.zip binutils-9d30e1fd7cfc742b03b7d973e511f7bfe5cfc295.tar.gz binutils-9d30e1fd7cfc742b03b7d973e511f7bfe5cfc295.tar.bz2 |
Remove remaining cleanups from c-exp.y
This removes the remaining cleanups from c-exp.y by moving some
globals into c_parse_state, and changing expansion_obstack to be an
auto_obstack.
gdb/ChangeLog
2019-01-06 Tom Tromey <tom@tromey.com>
* c-exp.y (struct c_parse_state) <macro_original_text,
expansion_obstack>: New member.
(macro_original_text, expansion_obstack): Remove globals.
(scan_macro_expansion, scanning_macro_expansion)
(finished_macro_expansion): Update.
(scan_macro_cleanup): Remove.
(yylex, c_parse): Update.
Diffstat (limited to 'gdb/source.h')
0 files changed, 0 insertions, 0 deletions