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/ChangeLog | |
parent | c65bac3846567a8068fe4aa5cfa79da5b193a1af (diff) | |
download | gdb-9d30e1fd7cfc742b03b7d973e511f7bfe5cfc295.zip gdb-9d30e1fd7cfc742b03b7d973e511f7bfe5cfc295.tar.gz gdb-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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 57c7588..8230afc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,15 @@ 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. + +2019-01-06 Tom Tromey <tom@tromey.com> + * c-exp.y (struct c_parse_state) <strings>: New member. (operator_stoken): Update. |