mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:39:05 +08:00
Include parser-defs.h in cp-name-parser.y
This changes cp-name-parser.y to include parser-defs.h, removing the copy-pasted declaration of parser_fprintf. This can be done now that cp-name-parser.y does not define any global variables. gdb/ChangeLog 2018-06-01 Tom Tromey <tom@tromey.com> * cp-name-parser.y: Include parser-defs.h. (parser_fprintf): Remove declaration.
This commit is contained in:
@ -44,11 +44,7 @@
|
||||
#include "demangle.h"
|
||||
#include "cp-support.h"
|
||||
#include "c-support.h"
|
||||
|
||||
/* Function used to avoid direct calls to fprintf
|
||||
in the code generated by the bison parser. */
|
||||
|
||||
extern void parser_fprintf (FILE *, const char *, ...) ATTRIBUTE_PRINTF (2, 3);
|
||||
#include "parser-defs.h"
|
||||
|
||||
#define GDB_YY_REMAP_PREFIX cpname
|
||||
#include "yy-remap.h"
|
||||
|
Reference in New Issue
Block a user