delorie.com/archives/browse.cgi | search |
From: | "Mark Stucky" <mstucky5 AT cox DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <b2l3vr$1dlrao$1 AT ID-166592 DOT news DOT dfncis DOT de> |
Subject: | Re: Bison |
Lines: | 22 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 6.00.2800.1106 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
Message-ID: | <h7f4a.28886$4F3.1627695@news2.east.cox.net> |
Date: | Tue, 18 Feb 2003 00:29:01 GMT |
NNTP-Posting-Host: | 68.9.20.67 |
X-Complaints-To: | abuse AT cox DOT net |
X-Trace: | news2.east.cox.net 1045528141 68.9.20.67 (Mon, 17 Feb 2003 19:29:01 EST) |
NNTP-Posting-Date: | Mon, 17 Feb 2003 19:29:01 EST |
Organization: | Cox Communications |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Mhaxx" <mhaxx AT despammed DOT com> wrote in message news:b2l3vr$1dlrao$1 AT ID-166592 DOT news DOT dfncis DOT de... > 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? Without more information, we don't know why either.....
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |