diff options
Diffstat (limited to 'src/ilasm/grammar_after.cpp')
-rw-r--r-- | src/ilasm/grammar_after.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ilasm/grammar_after.cpp b/src/ilasm/grammar_after.cpp index c8634801c7..53d141db54 100644 --- a/src/ilasm/grammar_after.cpp +++ b/src/ilasm/grammar_after.cpp @@ -372,16 +372,6 @@ static void AppendStringWithLength(BinStr* pbs, __in __nullterminated char* sz) /* fetch the next token, and return it Also set the yylval.union if the lexical token also has a value */ -#if (0) - -#define IsAlpha(x) ((('A' <= (x))&&((x) <= 'Z'))||(('a' <= (x))&&((x) <= 'z'))) -#define IsDigit(x) (('0' <= (x))&&((x) <= '9')) -#define IsAlNum(x) (IsAlpha(x) || IsDigit(x)) -#define IsValidStartingSymbol(x) (IsAlpha(x)||((x)=='#')||((x)=='_')||((x)=='@')||((x)=='$')) -#define IsValidContinuingSymbol(x) (IsAlNum(x)||((x)=='_')||((x)=='@')||((x)=='$')||((x)=='?')) -void SetSymbolTables() { ; } - -#else BOOL _Alpha[128]; BOOL _Digit[128]; @@ -433,7 +423,6 @@ BOOL IsAlNum(unsigned x) { return (x < 128)&&_AlNum[x]; } BOOL IsValidStartingSymbol(unsigned x) { return (x < 128)&&_ValidSS[x]; } BOOL IsValidContinuingSymbol(unsigned x) { return (x < 128)&&_ValidCS[x]; } -#endif char* nextBlank(__in __nullterminated char* curPos) { @@ -865,7 +854,6 @@ Its_An_Id: TRUE, wzFullName,&pwz); if(dw != 0) { - wzFullName.CloseBuffer((COUNT_T)(dw)); delete [] wzFile; wzFile = wzFullName.GetCopyOfUnicodeString(); |