help-bison
[Top][All Lists]
Advanced

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

bison help


From: Nowland Jeffrey John
Subject: bison help
Date: Wed, 7 Aug 2002 17:15:24 +1000

Hello,
I am a student currently trying to devise a way to parse the R programming Language. I can currently use gcc to produce a parser. The problem is that when I use g++ to try and create the parser I get this error:
 
$g++ lex.yy.c output.c++ -ll 
 
/share/bison/share/bison.simple: In function `int yyparse()':
/share/bison/share/bison.simple:327: implicit declaration of function `int yyerror(...)'
/share/bison/share/bison.simple:387: implicit declaration of function `int yylex(...)'
 
Both Flex and Bison wok fine in producing the .c files and ,as mentioned, they compile when using the C compiler. I realise that I have not provided much background on the problem but in any event can you give me some help on how to solve this problem?
 
Thank you for your time.

reply via email to

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