bug-bison
[Top][All Lists]
Advanced

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

Re: So is this OK to write #include "parser.tab.hh" in parser.yy?


From: Akim Demaille
Subject: Re: So is this OK to write #include "parser.tab.hh" in parser.yy?
Date: Fri, 28 Dec 2018 06:37:47 +0100

Hi Askar,

> Le 28 déc. 2018 à 04:30, Askar Safin <address@hidden> a écrit :
> 
>> We
>> generate parser.tab.{hh,cc} by default, because I was too stupid
>> when I introduced the C++ skeleton to allow myself not to follow
>> the idiotic and historic naming scheme.
> I like current naming scheme.

You can perfectly use -o to enforce the names you like.

But these names are irrelevant today.  There was a time in YACC
history where tables and code were issued in different files,
y.tab.c and y.code.c.


reply via email to

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