Re: Token redefinition

2006-11-17 Thread Tim Van Holder
Bob Smith wrote: > The language uses token as "INT" "BOOL" or "FALSE"; when I compile the > project using > Visual Studio 6.0 the following message is displayed: > > "'BOOL' : redefinition; typedef cannot be overloaded with any other > symbol" > > How about #undef BOOL, etc

Re: Token redefinition

2006-11-17 Thread Bob Smith
On 11/17/2006 5:52 AM, Hans Aberg wrote: On 17 Nov 2006, at 10:05, Tim Van Holder wrote: I need to write a simple compiler for a pascal-like linguage, using flex and bison. The language uses token as "INT" "BOOL" or "FALSE"; when I compile the project using Visual Studio 6.0 the following messa

Re: Token redefinition

2006-11-17 Thread Hans Aberg
On 17 Nov 2006, at 10:05, Tim Van Holder wrote: I need to write a simple compiler for a pascal-like linguage, using flex and bison. The language uses token as "INT" "BOOL" or "FALSE"; when I compile the project using Visual Studio 6.0 the following message is displayed: "'BOOL' : redefinitio

Re: Token redefinition

2006-11-17 Thread Tim Van Holder
Hans Aberg wrote: > On 16 Nov 2006, at 11:41, Giampaolo Fadel wrote: > >> I need to write a simple compiler for a pascal-like linguage, using >> flex and bison. >> The language uses token as "INT" "BOOL" or "FALSE"; when I compile the >> project using >> Visual Studio 6.0 the following message is

Re: Token redefinition

2006-11-16 Thread Hans Aberg
On 16 Nov 2006, at 11:41, Giampaolo Fadel wrote: I need to write a simple compiler for a pascal-like linguage, using flex and bison. The language uses token as "INT" "BOOL" or "FALSE"; when I compile the project using Visual Studio 6.0 the following message is displayed: "'BOOL' : redefinit

Token redefinition

2006-11-16 Thread Giampaolo Fadel
Hello! I need to write a simple compiler for a pascal-like linguage, using flex and bison. The language uses token as "INT" "BOOL" or "FALSE"; when I compile the project using Visual Studio 6.0 the following message is displayed: "'BOOL' : redefinition; typedef cannot be overloaded with any o