[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile Problem using Flex/Bison
From: |
Mike Aubury |
Subject: |
Re: Compile Problem using Flex/Bison |
Date: |
Mon, 4 Feb 2008 15:48:10 +0000 |
User-agent: |
KMail/1.9.7 |
Whenever I've had these - its almost always because I've chosen a token that
used as a #define (or something similar) in an include .h file..
Eg. using TRUE, or FALSE will almost always give problems...
On Monday 04 February 2008 15:34:07 Zhe Chen wrote:
> Hello,
> I want to build a simple compiler using Flex/Bison, which can parse
> expressions into syntactic trees. However, I met a problem as following,
> when I try to compile the source files:
>
> calc.tab.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '*' toke
>
> I have attached the three small source files in the email. Thank you for
> compiling them and tell me where is the error. Thank you very much!
>
> Z. Chen
--
Mike Aubury
Aubit Computing Ltd is registered in England and Wales, Number: 3112827
Registered Address : Murlain Business Centre, Union Street, Chester, CH1 1QP