X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e19f54e55255ddef1df49acde530102f5db2492..1da51aafba47af813ed5165855c819f490086f85:/src/common/parser.y diff --git a/src/common/parser.y b/src/common/parser.y index d81dd0ca96..c922f8c04a 100644 --- a/src/common/parser.y +++ b/src/common/parser.y @@ -97,6 +97,7 @@ arg : WORD EQUALS arg1 free($1); } | arg1 {$$ = $1; } + ; arg1 : WORD {$$ = wxmake_word($1); free($1);} @@ -124,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)