Fixed compile error

This commit is contained in:
Hackerpilot 2013-05-11 14:18:15 +00:00
parent b971646cf0
commit e5c7129803
1 changed files with 7 additions and 6 deletions

View File

@ -2180,12 +2180,12 @@ enum TokenType: ushort
while_, /// $(D_KEYWORD while) while_, /// $(D_KEYWORD while)
with_, /// $(D_KEYWORD with) with_, /// $(D_KEYWORD with)
specialDate, /// ___DATE__ specialDate, /// $(D_KEYWORD ___DATE__)
specialEof, /// ___EOF__ specialEof, /// $(D_KEYWORD ___EOF__)
specialTime, /// ___TIME__ specialTime, /// $(D_KEYWORD ___TIME__)
specialTimestamp, /// ___TIMESTAMP__ specialTimestamp, /// $(D_KEYWORD ___TIMESTAMP__)
specialVendor, /// ___VENDOR__ specialVendor, /// $(D_KEYWORD ___VENDOR__)
specialVersion, /// ___VERSION__ specialVersion, /// $(D_KEYWORD ___VERSION__)
specialFile, /// $(D_KEYWORD ___FILE__) specialFile, /// $(D_KEYWORD ___FILE__)
specialLine, /// $(D_KEYWORD ___LINE__) specialLine, /// $(D_KEYWORD ___LINE__)
specialModule, /// $(D_KEYWORD ___MODULE__) specialModule, /// $(D_KEYWORD ___MODULE__)
@ -2913,6 +2913,7 @@ pure TokenType lookupTokenType(R)(R input)
case '_': if (input[1..$].equal("_FUNCTION__")) return TokenType.specialFunction; else break; case '_': if (input[1..$].equal("_FUNCTION__")) return TokenType.specialFunction; else break;
default: break; default: break;
} }
break;
case 13: case 13:
if (input[1..$].equal("_TIMESTAMP__")) if (input[1..$].equal("_TIMESTAMP__"))
return TokenType.specialTimestamp; return TokenType.specialTimestamp;