X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c81f40e0fe3ea56c7291a83045419455649809f4..9f4de6b2cf06f53a98b28f53640f3b9ec8cf4182:/src/common/parser.y?ds=sidebyside diff --git a/src/common/parser.y b/src/common/parser.y index c9160bffa6..c922f8c04a 100644 --- a/src/common/parser.y +++ b/src/common/parser.y @@ -1,3 +1,4 @@ +/* Version: $Id$ */ %{ #include "wx/setup.h" #include @@ -96,6 +97,7 @@ arg : WORD EQUALS arg1 free($1); } | arg1 {$$ = $1; } + ; arg1 : WORD {$$ = wxmake_word($1); free($1);} @@ -123,13 +125,13 @@ arg1 : WORD * for example, cross compilation. */ #if (defined(__WXGTK__) || defined(__WXWINE__) || defined(__WXMOTIF__)) || defined(__WX_SETUP_H__) && !defined(NO_CONFIGURE) #include "lexer.c" -#else -#if (defined(__MWERKS__)) +#elif defined(__WXMAC__) && defined(__APPLE__) +#include "lexer.c" +#elif defined(__MWERKS__) #include "../common/cwlex_yy.c" #else #include "../common/lex_yy.c" #endif -#endif /* void yyerror(s)