diff options
Diffstat (limited to 'gdb/parser-defs.h')
-rw-r--r-- | gdb/parser-defs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h index 5b2e47b..ece2849 100644 --- a/gdb/parser-defs.h +++ b/gdb/parser-defs.h @@ -150,6 +150,10 @@ extern struct type *follow_types (struct type *); extern char *lexptr; +/* After a token has been recognized, this variable points to it. + Currently used only for error reporting. */ +extern char *prev_lexptr; + /* Tokens that refer to names do so with explicit pointer and length, so they can share the storage that lexptr is parsing. |