From: "Mhaxx" Newsgroups: comp.os.msdos.djgpp Subject: Bison Date: Sat, 15 Feb 2003 11:15:17 +0100 Lines: 21 Message-ID: NNTP-Posting-Host: ppp-209-118.98-62.inwind.it (62.98.118.209) X-Trace: fu-berlin.de 1045304123 47902040 62.98.118.209 (16 [166592]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 FL-Build: Fidolook 2002 (SL) 6.0.2600.78 - 24/10/2002 21:18:29 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com When I generate a scanner I run: flex scanner.l gcc lexyy.c -lfl -o scanner When I generate a parser I run: bison -d parser.y gcc parser.tab.c -o parser but in this case I get two errors: - "parse error before '*' token" and "warning: data definition has no type or storage class" - "`stderr' undeclared (first use in this function)..." I don't know why, maybe I have to use a library to compile parser (as with flex I use -lfl). What's the library? Bye bye, Max