[Flex-help] FW: Question regarding yyunput
flex is a tool for generating scanners
Brought to you by:
wlestes
From: <thu...@ag...> - 2007-02-07 22:54:03
|
=20 =20 Hi, I am resubmitting this error, and taking out one file, lex.yy.c, = because it's 68Kb and over the limit. Hopefully, you can help without = looking at that file. Many thanks, Thuyen -----Original Message----- From: VU,THUYEN (A-Sonoma,ex1) Sent: Friday, February 02, 2007 2:44 PM To: 'fle...@li...' Subject: Question regarding yyunput Hi, I have this urgent questions and have no one to discuss with in our = organizations, as all of our software are currently running on UX. This = is the first time I am trying to port something onto the PC!=20 The package I am trying to port over onto PC, using lex and yacc. = Moving onto the PC, I change them to flex and byacc. Here is the error = I got, when trying to compile the package, at the flex step:=20 bash-3.1$ make yaccing egsarc byacc -dv egsarc.y cc -c -O y.tab.c mv y.tab.o egsarc.o mv y.tab.h egstoks.h rm y.tab.c y.output lexing egslex flex -l egslex.l cc -c -O lex.yy.c egslex.l: In function `eatspace': egslex.l:185: error: too few arguments to function `yyunput' make: *** [egslex.o] Error 1=20 Attached are the lex.yy.c created by egslex.l file, and the egssubs.c = file, which seems to use functions created in lex.yy.c files. It seems that yyunput() needs more parameters now, but I do not know = what to give it???? Any helps or hints are greatly appreciated. Many thanks, Thuyen Vu Agilent Technologies, Inc. |