diff --git a/SMILEBASIC/parser.d b/SMILEBASIC/parser.d index 2fc66cf..72e85c0 100644 --- a/SMILEBASIC/parser.d +++ b/SMILEBASIC/parser.d @@ -490,7 +490,7 @@ class Parser switch(exp.type) { case NodeType.Constant: - return (cast(Constant)exp).value.integerValue; + return (cast(Constant)exp).value.castInteger; case NodeType.BinaryOperator: { auto binop = cast(BinaryOperator)exp;