fix, cesym 64bit build

This commit is contained in:
Basile Burg 2015-03-12 12:52:21 +01:00
parent 2a6b8f757d
commit 83087766bf
1 changed files with 2 additions and 2 deletions

View File

@ -162,8 +162,8 @@ class SymbolListBuilder : ASTVisitor
static void astError(string fname, size_t line, size_t col, string msg, bool isErr)
{
Symbol * newSym = construct!Symbol;
newSym.col = col;
newSym.line = line;
newSym.col = cast(int) col;
newSym.line = cast(int) line;
newSym.name = msg;
isErr ? newSym.type = SymbolType._error : newSym.type = SymbolType._warning;
illFormed ~= newSym;