bison-patches
[Top][All Lists]
Advanced

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

Re: [updated PATCH] %language declaration


From: Joel E. Denny
Subject: Re: [updated PATCH] %language declaration
Date: Thu, 7 Dec 2006 20:14:14 -0500 (EST)

On Thu, 7 Dec 2006, Joel E. Denny wrote:

>   lhs: rhs
>     ${
>       my $$var = "text";
>       $$var =~ m/(ex)/;
>       print "These must be escaped: $$1 ", '$$}', "\n";
>     $}
> 
> And the output is:
> 
>   These must be escaped: tt $}
> 
> I didn't give too much thought to the above, so it's probably not the best 
> syntax, but hopefully you get the idea.

Sigh.  Clearly the above is broken since $$ has a meaning already in Bison 
actions, but surely some other notation could devised.




reply via email to

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