]> git.saurik.com Git - bison.git/commitdiff
* src/lex.c (parse_percent_token): s/quotearg/quote/.
authorAkim Demaille <akim@epita.fr>
Mon, 5 Nov 2001 10:07:46 +0000 (10:07 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 5 Nov 2001 10:07:46 +0000 (10:07 +0000)
ChangeLog
src/lex.c

index 77d9b2ae67b4f815bc6456ed37aeb155252bdaf8..c0b7ebe54f968c2c626b92ef1046244a6934ce9d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-11-05  Akim Demaille  <akim@epita.fr>
+
+       * src/lex.c (parse_percent_token): s/quotearg/quote/.
+
 2001-11-05  Akim Demaille  <akim@epita.fr>
 
        * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
index b27cfeebdcc4090966d1ec141e0b2dd48f41a976..3888b21588e34f6c22495fa8d8f3e7c0cb4fd89b 100644 (file)
--- a/src/lex.c
+++ b/src/lex.c
@@ -632,8 +632,8 @@ parse_percent_token (void)
        && option_strcmp (token_buffer + 1, tx->name) == 0)
       break;
 
-  if (arg && !tx->ret_val == tok_stropt)
-    fatal (_("`%s' supports no argument: %s"), token_buffer, quotearg (arg));
+  if (arg && tx->ret_val != tok_stropt)
+    fatal (_("`%s' supports no argument: %s"), token_buffer, quote (arg));
 
 
   switch (tx->ret_val)