help-bison
[Top][All Lists]
Advanced

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

%token QUOTE "\""


From: Frans Englich
Subject: %token QUOTE "\""
Date: Fri, 21 Jul 2006 23:18:41 +0000
User-agent: KMail/1.8.50

Have a look at these two tokens:

%token QUOTE                                "\""
%token APOS                                 "'"

When QUOTE is printed it literally prints: \". It hasn't "un-escaped" when 
printing, although enough for parsing the grammar at compile time.

What is the proper way to print a '"'?

(I'm using Bison 2.3.)


Cheers,

                Frans




reply via email to

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