]> git.saurik.com Git - bison.git/blobdiff - src/lex.c
Version 1.30a.
[bison.git] / src / lex.c
index 4f1ddbfe202f3e542639725eb42f60f162e9eaba..f18933e808a809ac5b4f894b8fda3a7d586d630e 100644 (file)
--- a/src/lex.c
+++ b/src/lex.c
@@ -662,8 +662,8 @@ parse_percent_token (void)
     if (strcmp (token_buffer + 1, tx->name) == 0)
       break;
 
-  if (arg && !tx->retval == tok_stropt)
-    fatal (_("`%s' supports no argument: %s"), token_buffer, quotearg (arg));
+  if (arg && tx->retval != tok_stropt)
+    fatal (_("`%s' supports no argument: %s"), token_buffer, quote (arg));
 
   switch (tx->retval)
     {