bug-bison
[Top][All Lists]
Advanced

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

Re: beta testing


From: Hans Aberg
Subject: Re: beta testing
Date: Wed, 21 Feb 2001 10:17:23 +0100

>> This problem  is due to the fact that the .tab.h file does not have the
>> standard type of header macro-conditionals
>>   #ifndef foo_bar_header
>>   #define foo_bar_header
>>   ...
>>   #endif /* foo_bar_header */
>>

Another way around this problem is to write another header foo_bar.tabb.h
whose contents is
   #ifndef foo_bar_header
   #define foo_bar_header
   #include "foo_bar.tab.h"
   #endif /* foo_bar_header */

Then, instead of foo_bar.tab.h, include the header foo_bar.tabb.h into your
program.

  Hans Aberg





reply via email to

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