From: SourceForge.net <no...@so...> - 2003-07-11 13:27:28
|
Bugs item #769216, was opened at 2003-07-10 18:38 Message generated for change (Comment added) made by broeker You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104664&aid=769216&group_id=4664 >Category: None Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Garrett Comeaux (gcomeaux) Assigned to: Hans-Bernhard Broeker (broeker) Summary: egrep.y:106.17: unexpected "=" Initial Comment: Couldn't Build -- Failed on Make Trusted Solaris - "Certified Edition" uname -a: SunOS 5.8 TS8_CE sun4u sparc SUNW,Sun-Blade-100 gcc 3.3 flex version 2.5.4 bison (GNU Bison) 1.875 ./configure --with-flex --with-bison ... checking host system type... sparc-sun-solaris2.8 checking user specification of lexer... flex checking user specification of yacc... bison -y > make ... make[2]: Entering directory `/opt/local/cscope-15.4/src' /usr/bin/pfsh ./ylwrap "flex" fscanner.l lex.yy.c fscanner.c -- gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c fscanner.c bison -y egrep.y && mv y.tab.c egrep.c egrep.y:106.17: syntax error, unexpected "=" egrep.y:111.17: syntax error, unexpected "=" egrep.y:113.39-40: invalid $ value egrep.y:115.39-40: invalid $ value egrep.y:120.17: syntax error, unexpected "=" egrep.y:124.17: syntax error, unexpected "=" egrep.y:134.17: syntax error, unexpected "=" make[2]: *** [egrep.c] Error 1 Thanks ---------------------------------------------------------------------- >Comment By: Hans-Bernhard Broeker (broeker) Date: 2003-07-11 15:27 Message: Logged In: YES user_id=27517 This is an old known problem, and long since fixed in the CVS version. Just get rid of all those '=' in "={" sequences at the start of code fragments for rules, and all will be will. Or get yourself the CVS version of egrep.y, if not of the whole cscope. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2003-07-11 15:22 Message: Logged In: NO Older bison bison (GNU Bison 1.35) returned: ./cscope-15.4/src/egrep.y contains 2 shift/reduce conflicts. New bison (bison (GNU Bison) 1.875a) is not such tolerant and returns error: ../cscope-15.4/src/egrep.y:106.17: syntax error, unexpected "=" ../cscope-15.4/src/egrep.y:111.17: syntax error, unexpected "=" ../cscope-15.4/src/egrep.y:113.39-40: invalid $ value ../cscope-15.4/src/egrep.y:115.39-40: invalid $ value ../cscope-15.4/src/egrep.y:120.17: syntax error, unexpected "=" ../cscope-15.4/src/egrep.y:124.17: syntax error, unexpected "=" ../cscope-15.4/src/egrep.y:134.17: syntax error, unexpected "=" ---------------------------------------------------------------------- Comment By: Jean-Baptiste Lab (jeanbaptiste) Date: 2003-07-11 13:51 Message: Logged In: YES user_id=726798 I get the same error with cygwin: gcc version 3.2 20020927 CYGWIN_NT-5.0 jbl 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin flex version 2.5.4 bison (GNU Bison) 1.875b I'try to get an earlier version of bison, as it seems to be the problem. Thanks JB ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104664&aid=769216&group_id=4664 |