11 #macro CHECK_CODEMASK( )
12 if( cCompStmtIsAllowed( FB_CMPSTMT_MASK_CODE ) = FALSE )
then
28 byval tk
as FB_TOKEN =
INVALID _
37 case FB_TKCLASS_KEYWORD, FB_TKCLASS_QUIRKWD
39 if( env.clopt.lang = FB_LANG_QB )
then
40 if( lexGetType() <> FB_DATATYPE_INVALID )
then
46 if( tk = CHAR_QUESTION )
then
54 dim as integer res = FALSE
56 select case as const tk
57 case FB_TK_GOTO, FB_TK_GOSUB, FB_TK_RETURN, FB_TK_RESUME
61 case FB_TK_PRINT, FB_TK_LPRINT
65 case FB_TK_RESTORE, FB_TK_READ, FB_TK_DATA
89 case FB_TK_OPEN, FB_TK_CLOSE, FB_TK_SEEK, FB_TK_PUT, FB_TK_GET, _
90 FB_TK_LOCK, FB_TK_UNLOCK, FB_TK_NAME
118 case FB_TK_LSET, FB_TK_RSET
132 if( env.clopt.lang = FB_LANG_QB )
then
138 if( res = FALSE )
then
150 dim as ASTNODE
ptr funcexpr = NULL
151 dim as FB_TOKEN tk = sym->key.id
153 select case as const tk
154 case FB_TK_MKD, FB_TK_MKS, FB_TK_MKI, FB_TK_MKL, _
155 FB_TK_MKSHORT, FB_TK_MKLONGINT
158 case FB_TK_CVD, FB_TK_CVS, FB_TK_CVI, FB_TK_CVL, _
159 FB_TK_CVSHORT, FB_TK_CVLONGINT
162 case FB_TK_STR, FB_TK_WSTR, FB_TK_MID, FB_TK_STRING, FB_TK_WSTRING, _
163 FB_TK_CHR, FB_TK_WCHR, _
164 FB_TK_ASC, FB_TK_INSTR, FB_TK_INSTRREV, _
165 FB_TK_TRIM, FB_TK_RTRIM, FB_TK_LTRIM, _
166 FB_TK_LCASE, FB_TK_UCASE
169 case FB_TK_ABS, FB_TK_SGN, FB_TK_FIX, FB_TK_FRAC, FB_TK_LEN, FB_TK_SIZEOF, _
170 FB_TK_SIN, FB_TK_ASIN, FB_TK_COS, FB_TK_ACOS, FB_TK_TAN, FB_TK_ATN, _
171 FB_TK_SQR, FB_TK_LOG, FB_TK_EXP, FB_TK_ATAN2, FB_TK_INT
177 case FB_TK_LBOUND, FB_TK_UBOUND
180 case FB_TK_SEEK, FB_TK_INPUT, FB_TK_WINPUT, FB_TK_OPEN, FB_TK_CLOSE, _
181 FB_TK_GET, FB_TK_PUT, FB_TK_NAME
193 case FB_TK_CBYTE, FB_TK_CSHORT, FB_TK_CINT, FB_TK_CLNG, FB_TK_CLNGINT, _
194 FB_TK_CUBYTE, FB_TK_CUSHORT, FB_TK_CUINT, FB_TK_CULNG, FB_TK_CULNGINT, _
195 FB_TK_CSNG, FB_TK_CDBL, FB_TK_CSIGN, FB_TK_CUNSG
210 case FB_TK_SCREEN, FB_TK_SCREENQB
213 case FB_TK_THREADCALL
218 if( funcexpr = NULL )
then