mirror of https://gitlab.com/basile.b/dexed.git
fix, cesym 64bit build
This commit is contained in:
parent
2a6b8f757d
commit
83087766bf
|
|
@ -162,8 +162,8 @@ class SymbolListBuilder : ASTVisitor
|
||||||
static void astError(string fname, size_t line, size_t col, string msg, bool isErr)
|
static void astError(string fname, size_t line, size_t col, string msg, bool isErr)
|
||||||
{
|
{
|
||||||
Symbol * newSym = construct!Symbol;
|
Symbol * newSym = construct!Symbol;
|
||||||
newSym.col = col;
|
newSym.col = cast(int) col;
|
||||||
newSym.line = line;
|
newSym.line = cast(int) line;
|
||||||
newSym.name = msg;
|
newSym.name = msg;
|
||||||
isErr ? newSym.type = SymbolType._error : newSym.type = SymbolType._warning;
|
isErr ? newSym.type = SymbolType._error : newSym.type = SymbolType._warning;
|
||||||
illFormed ~= newSym;
|
illFormed ~= newSym;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue