10 function cConstant(
byval sym
as FBSYMBOL
ptr )
as ASTNODE
ptr
13 errReport( FB_ERRMSG_ILLEGALMEMBERACCESS )
25 function cStrLiteral(
byval skiptoken
as integer )
as ASTNODE
ptr
26 dim as FBSYMBOL
ptr sym =
any
27 dim as integer lgt =
any, isunicode =
any
28 dim as zstring ptr zs =
any
29 dim as wstring ptr ws =
any
31 dim as ASTNODE
ptr expr = NULL
34 lgt = lexGetTextLen( )
36 if( lexGetType( ) <> FB_DATATYPE_WCHAR )
then
44 if( lexGetHasSlash( ) )
then
45 if( fbPdCheckIsSet( FB_PDCHECK_ESCSEQ ) )
then
50 FB_ERRMSGOPT_ADDCOLON
or FB_ERRMSGOPT_ADDQUOTES )
59 if( isunicode = FALSE )
then
63 sym = symbAllocWstrConst(
wstr( *zs ), lgt )
74 if( lexGetHasSlash( ) )
then
75 if( fbPdCheckIsSet( FB_PDCHECK_ESCSEQ ) )
then
85 sym = symbAllocWstrConst( ws, lgt )
88 if( expr = NULL )
then
111 dim as integer dtype =
any
113 dtype = lexGetType( )
116 case FB_DATATYPE_DOUBLE
119 case FB_DATATYPE_SINGLE
124 if( typeIsSigned( dtype ) )
then