Using lex/yacc in XCode
I am trying to use a yacc parser in xcode. For now, I just want the main function in the main.cpp file to call yyparse, but it has a compile error and says it is not declared in the scope.
If I do everything out of xcode with "gcc y.tab.c lex.yy.c main.c", it works fine.
If I do everything out of xcode with "gcc y.tab.c lex.yy.c main.c", it works fine.
MacBook Pro, Mac OS X (10.4.7)