From: Akim Demaille Date: Mon, 5 Nov 2001 10:07:46 +0000 (+0000) Subject: * src/lex.c (parse_percent_token): s/quotearg/quote/. X-Git-Tag: before-m4-back-end~326 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/65be086611b2ab1cae806aa3a82beec35ae6ebb9 * src/lex.c (parse_percent_token): s/quotearg/quote/. --- diff --git a/ChangeLog b/ChangeLog index 77d9b2ae..c0b7ebe5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-11-05 Akim Demaille + + * src/lex.c (parse_percent_token): s/quotearg/quote/. + 2001-11-05 Akim Demaille * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up diff --git a/src/lex.c b/src/lex.c index b27cfeeb..3888b215 100644 --- 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)