diff --git a/ChangeLog b/ChangeLog index 639133e1..924857a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2001-11-05 Akim Demaille Version 1.30a. + * src/lex.c (parse_percent_token): s/quotearg/quote/. 2001-11-05 Akim Demaille diff --git a/src/lex.c b/src/lex.c index 4f1ddbfe..f18933e8 100644 --- 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) {