Conditional support for #include for surveyor
git-svn-id: http://picoc.googlecode.com/svn/trunk@202 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
c65cd8256b
commit
436b0cafc0
2
parse.c
2
parse.c
|
@ -371,6 +371,7 @@ int ParseStatement(struct ParseState *Parser)
|
|||
CheckTrailingSemicolon = FALSE;
|
||||
break;
|
||||
|
||||
#ifndef NO_HASH_INCLUDE
|
||||
case TokenHashInclude:
|
||||
{
|
||||
struct Value *LexerValue;
|
||||
|
@ -381,6 +382,7 @@ int ParseStatement(struct ParseState *Parser)
|
|||
CheckTrailingSemicolon = FALSE;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
case TokenSwitch:
|
||||
if (LexGetToken(Parser, NULL, TRUE) != TokenOpenBracket)
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
# ifdef SURVEYOR_HOST
|
||||
# define NO_FP
|
||||
# define NO_CTYPE
|
||||
# define NO_HASH_INCLUDE
|
||||
# include <cdefBF537.h>
|
||||
# include "../string.h"
|
||||
# include "../print.h"
|
||||
|
|
Loading…
Reference in a new issue