333 |
333 |
334 EType type = (TokenIs (tkInt)) ? EIntType : |
334 EType type = (TokenIs (tkInt)) ? EIntType : |
335 (TokenIs (tkStr)) ? EStringType : |
335 (TokenIs (tkStr)) ? EStringType : |
336 EBoolType; |
336 EBoolType; |
337 |
337 |
338 mLexer->MustGetNext(); |
338 mLexer->MustGetNext (tkSymbol); |
339 String varname = GetTokenString(); |
339 String varname = GetTokenString(); |
340 |
340 |
341 if (varname[0] >= '0' && varname[0] <= '9') |
341 if (varname[0] >= '0' && varname[0] <= '9') |
342 Error ("variable name must not start with a number"); |
342 Error ("variable name must not start with a number"); |
343 |
343 |