Jan Nieuwenhuizen <[EMAIL PROTECTED]> writes:

>> I installed this patch instead.  It doesn't require any changes to
>> quotearg (a shared module) so it's better in that respect.
>
> Hmm, this doesn't fix the escaping problem, sorry.

In what sense doesn't it fix it?  For example, it turns this:

%token SPECIAL "\\\'\?\"\a\b\f\n\r\t\v\001\377\x001\x0000ff"

into this:

static const char *const yytname[] =
{
  ...
  "\"\\\\'?\\\"\\a\\b\\f\\n\\r\\t\\v\\001\\377\\001\\377\"",
  ...
};

and if you print that string you'll see this:

"\\'?\"\a\b\f\n\r\t\v\001\377\001\377"

and this is a C representation of an equivalent to the original
string.


Reply via email to