Results 1 to 1 of 1
hi everyone,
i m workin on a parser for C-Shell and i m havin troubles while compiling the file CShell.lex!
the commands >flex CShell.lex and >bison -d semantic.y work fine, ...
- 04-03-2007 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 1
lex.yy.c problem
hi everyone,
i m workin on a parser for C-Shell and i m havin troubles while compiling the file CShell.lex!
the commands >flex CShell.lex and >bison -d semantic.y work fine, but when i try >gcc lex.yy.c semantic.tab.c -lfl -o parser i ve got this error:
lex.yy.c : error : expected ';' , ',' or ')' before numeric constant!!!!
i m kind of confused cuz if there was a problem in the CSHell.lex normally it would be shown with the first command! where's the problem then?!
thank you for your help


Reply With Quote