summaryrefslogtreecommitdiff
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
parent39cb3d04889db22f0642427bcf878c16b4d779ea (diff)
downloadbinutils-gdb-c9a9bf776cc9a9af320b7371006b430e39ba1182.tar.gz
* ch-exp.y: Fix thinko that broke parsing of FALSE.
-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 2ce7286c8cd..9d961bd1fb1 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);