diff options
author | Tom Tromey <tromey@adacore.com> | 2023-04-28 08:08:54 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-05-23 13:57:54 -0600 |
commit | e360af5af8e0ecb3eb62cf3970e9d1df0289c781 (patch) | |
tree | 9820e02a855fa78f0fe361d7a69993c84a608ae1 /gdb/d-exp.y | |
parent | 78655a10f7718f2596c0ae2a9a401e2597c5041f (diff) | |
download | gdb-e360af5af8e0ecb3eb62cf3970e9d1df0289c781.zip gdb-e360af5af8e0ecb3eb62cf3970e9d1df0289c781.tar.gz gdb-e360af5af8e0ecb3eb62cf3970e9d1df0289c781.tar.bz2 |
Add PARSER_DEBUG flag
This adds a new PARSER_DEBUG constant and changes the parser code to
use it. This lets us make the 'parser_debug' global 'static'.
Diffstat (limited to 'gdb/d-exp.y')
-rw-r--r-- | gdb/d-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/d-exp.y b/gdb/d-exp.y index 3a4e7ee..b0f2c0d 100644 --- a/gdb/d-exp.y +++ b/gdb/d-exp.y @@ -1607,7 +1607,7 @@ d_parse (struct parser_state *par_state) pstate = par_state; scoped_restore restore_yydebug = make_scoped_restore (&yydebug, - parser_debug); + par_state->debug); struct type_stack stack; scoped_restore restore_type_stack = make_scoped_restore (&type_stack, |