bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: %token QUOTE "\""


From: Frans Englich
Subject: Re: Fwd: %token QUOTE "\""
Date: Tue, 25 Jul 2006 08:41:26 +0000
User-agent: KMail/1.8.50

On Tuesday 25 July 2006 07:30, Paul Eggert wrote:
> Satya <address@hidden> writes:
> > The problem is this:
> > In file parse-gram.y we have a rule for string_as_id:
>
> Sorry, I'm still lost.

In the generated parser, my static const char *const yytname[] has this entry:

"\"\\\"\""

Which was generated by:

%token QUOTE                                "\""

I would like the entry to read:

"\"\"\""

(or "'\"'", since """ isn't very readable)

Just insert '%token QUOTE  "\"' in a grammar of yours, and it will expose the 
problem, I think.


Cheers,

                Frans




reply via email to

[Prev in Thread] Current Thread [Next in Thread]