aboutsummaryrefslogtreecommitdiff
path: root/gdb/ch-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ch-exp.y')
-rw-r--r--gdb/ch-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ch-exp.y b/gdb/ch-exp.y
index 87137c8..0d35a70 100644
--- a/gdb/ch-exp.y
+++ b/gdb/ch-exp.y
@@ -1479,7 +1479,7 @@ yylex ()
yylval.sval.ptr = lexptr;
do {
lexptr++;
- } while (isalnum (*lexptr) || (lexptr == '_'));
+ } while (isalnum (*lexptr) || (*lexptr == '_'));
yylval.sval.length = lexptr - yylval.sval.ptr;
write_dollar_variable (yylval.sval);
return GDB_VARIABLE;