34 parser.
scope = FB_MAINSCOPE
41 parser.mangling = FB_MANGLING_BASIC
47 parser.options = FB_PARSEROPT_CHKARRAY
49 parser.ctx_dtype = FB_DATATYPE_INVALID
78 dim as ASTNODE
ptr n =
any
90 n = astGetProcTailNode( )
92 if( n->
class = AST_NODECLASS_DBG )
then
93 if( n->dbg.op = AST_OP_DBG_LINEINI )
then
106 dim as integer startlevel = pp.level
129 if( env.clopt.debug )
then
130 if( env.includerec = 0 )
then
160 if (pp.level <> startlevel)
then
167 if (env.includerec = 0)
then
175 byval token
as integer, _
176 byval doeat
as integer, _
177 byval flags
as LEXCHECK, _
178 byval stop_on_comma
as integer _
181 dim as integer prntcnt
189 case FB_TK_STMTSEP, FB_TK_COMMENT, FB_TK_REM
191 if( token <> FB_TK_EOL )
then
200 if( token = CHAR_LPRNT )
then
212 if( prntcnt > 0 )
then
215 if( token = CHAR_RPRNT )
then
222 if( prntcnt > 0 )
then
225 if( token = CHAR_RBRACE )
then
233 if( (token = CHAR_COMMA)
or stop_on_comma )
then
235 if( prntcnt = 0 )
then
264 byval for_token
as integer, _
265 byval until_token
as integer, _
266 byval flags
as LEXCHECK _
269 dim as integer cnt, iscomment
271 if( until_token = INVALID )
then
272 until_token = for_token
285 case FB_TK_COMMENT, FB_TK_REM
289 if( iscomment = FALSE )
then
304 if( iscomment = FALSE )
then
320 byval dtype
as integer _
323 dim as ASTNODE
ptr expr
326 if( expr = NULL )
then
327 errReport( FB_ERRMSG_EXPECTEDEXPRESSION )
329 if( dtype = FB_DATATYPE_INVALID )
then