help-bison
[Top][All Lists]
Advanced

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

Re: Include %token and %union declaration from a shared file


From: Alexander Barkov
Subject: Re: Include %token and %union declaration from a shared file
Date: Thu, 04 Aug 2016 10:44:55 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Hello Hans,


On 07/09/2016 12:53 AM, Hans Åberg wrote:

On 8 Jul 2016, at 14:46, Alexander Barkov <address@hidden> wrote:

We're inclined toward generating the *.yy files with help of some text
pre-processor. Possibly, using some CMake commands...

It would be great though if bison could collect the grammar definition
from multiple files. Where can I post this feature request?

Might it suffice with a Bison command %include <file>, that inserts <file> into 
the *.yy file?



I'm now back from my vacation.

Can you please give some hints on how to implement this new directive %include? I looked into the sources, but have no ideas where to start with :)

Thanks!



reply via email to

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