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.

MacBook Pro, Mac OS X (10.4.7)

Posted on Oct 7, 2006 9:34 AM

Reply
1 reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Using lex/yacc in XCode

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.