[Top][All Lists]

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

Re: experimental features in Bison 2.3a+

From: Hans Aberg
Subject: Re: experimental features in Bison 2.3a+
Date: Tue, 5 Dec 2006 09:22:18 +0100

On 4 Dec 2006, at 22:55, Joel E. Denny wrote:

Or so, was my idea with %code. I am not sure what the idea is to now add a much more lmited variation of that command - evidently it is not in 2.3.a.

Does this not satisfy your needs?

  %define "NAME" { CODE }

Apart from the ugly, redundant quotes around the macro name, there might be problems in the future, if the code part should be parsed according to language. Then %define is better reserved for verbatim macros, and %code for code placement.

  Hans Aberg

reply via email to

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