10 #define LEX_FLAGS (LEXCHECK_NOLINECONT
or LEXCHECK_NODEFINE
or LEXCHECK_NOSUFFIX
or LEXCHECK_NOMULTILINECOMMENT)
20 byval lexflags
as LEXCHECK _
24 case FB_TK_COMMENT, FB_TK_REM
29 lex.ctx->reclevel += 1
32 if(
lexGetToken( LEX_FLAGS ) = FB_TK_DIRECTIVECHAR )
then
39 lex.ctx->reclevel -= 1
55 static as zstring * FB_MAXPATHLEN+1 incfile
60 if( fbLangOptIsSet( FB_LANG_OPT_METACMD ) = FALSE )
then
64 env.opt.
dynamic = TRUE
67 if( env.ppfile_num > 0 )
then
74 if( fbLangOptIsSet( FB_LANG_OPT_METACMD ) = FALSE )
then
78 env.opt.
dynamic = FALSE
81 if( env.ppfile_num > 0 )
then
87 if( fbLangOptIsSet( FB_LANG_OPT_METACMD ) = FALSE )
then
99 if(
hMatch( FB_TK_STMTSEP ) = FALSE )
then
110 if(
lexGetToken( LEX_FLAGS
or LEXCHECK_NOWHITESPC ) <> FB_TK_COMMENT )
then
120 if(
hMatch( CHAR_APOST ) = FALSE )
then
131 case FB_TKCLASS_KEYWORD, FB_TKCLASS_QUIRKWD
132 if( fbLangOptIsSet( FB_LANG_OPT_METACMD ) )
then
141 if(
hMatch( FB_TK_STMTSEP ) = FALSE )
then
142 errReport( FB_ERRMSG_EXPECTEDSTMTSEP, TRUE )
148 dim as FB_LANG id =
any
154 if( id = FB_LANG_INVALID )
then
160 if( env.ppfile_num > 0 )
then
174 case FB_TK_EOL, FB_TK_EOF