mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
* ch-exp.y (yylex): Also look for '$' following '$'.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
Sun Oct 8 18:01:04 1995 Per Bothner <bothner@kalessin.cygnus.com>
|
||||
|
||||
* ch-exp.y (yylex): Also look for '$' following '$'.
|
||||
|
||||
Sat Oct 7 22:52:42 1995 Michael Meissner <meissner@tiktok.cygnus.com>
|
||||
|
||||
* ch-exp.y (yylex): Fix typo.
|
||||
|
@ -1479,7 +1479,7 @@ yylex ()
|
||||
yylval.sval.ptr = lexptr;
|
||||
do {
|
||||
lexptr++;
|
||||
} while (isalnum (*lexptr) || (*lexptr == '_'));
|
||||
} while (isalnum (*lexptr) || *lexptr == '_' || *lexptr == '$');
|
||||
yylval.sval.length = lexptr - yylval.sval.ptr;
|
||||
write_dollar_variable (yylval.sval);
|
||||
return GDB_VARIABLE;
|
||||
|
Reference in New Issue
Block a user