aboutsummaryrefslogtreecommitdiff
path: root/gdb/ch-exp.y
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1993-04-14 21:04:50 +0000
committerPer Bothner <per@bothner.com>1993-04-14 21:04:50 +0000
commitc9a9bf776cc9a9af320b7371006b430e39ba1182 (patch)
tree5d19ab2a7526e3826080f0e2ac36fc43a9937967 /gdb/ch-exp.y
parent39cb3d04889db22f0642427bcf878c16b4d779ea (diff)
downloadgdb-c9a9bf776cc9a9af320b7371006b430e39ba1182.zip
gdb-c9a9bf776cc9a9af320b7371006b430e39ba1182.tar.gz
gdb-c9a9bf776cc9a9af320b7371006b430e39ba1182.tar.bz2
* ch-exp.y: Fix thinko that broke parsing of FALSE.
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 2ce7286..9d961bd 100644
--- a/gdb/ch-exp.y
+++ b/gdb/ch-exp.y
@@ -1901,7 +1901,7 @@ yylex ()
yylval.ulval = 1;
return (BOOLEAN_LITERAL);
}
- if (STREQ (lexptr, "false"))
+ if (STREQ (simplename, "false"))
{
yylval.ulval = 0;
return (BOOLEAN_LITERAL);