mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-16 04:18:50 +00:00
Make c-exp.y:name_obstack static
c-exp.y:name_obstack is not static, but should be. This patch makes the change. Tested by rebuilding. gdb/ChangeLog 2020-09-17 Tom Tromey <tromey@adacore.com> * c-exp.y (name_obstack): Now static.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2020-09-17 Tom Tromey <tromey@adacore.com>
|
||||
|
||||
* c-exp.y (name_obstack): Now static.
|
||||
|
||||
2020-09-17 Chungyi Chi <demonic@csie.io>
|
||||
|
||||
* riscv-tdep.c (riscv-insn::decode): Fix recorded insn type.
|
||||
|
||||
@@ -3013,7 +3013,7 @@ static int popping;
|
||||
|
||||
/* Temporary storage for c_lex; this holds symbol names as they are
|
||||
built up. */
|
||||
auto_obstack name_obstack;
|
||||
static auto_obstack name_obstack;
|
||||
|
||||
/* Classify a NAME token. The contents of the token are in `yylval'.
|
||||
Updates yylval and returns the new token type. BLOCK is the block
|
||||
|
||||
Reference in New Issue
Block a user