Merge pull request #115 from callumenator/caserange-fix

Case range statement - low node not set
This commit is contained in:
Hackerpilot 2014-02-20 21:53:01 -08:00
commit b2232867d9
1 changed files with 2 additions and 0 deletions

View File

@ -973,6 +973,8 @@ alias core.sys.posix.stdio.fileno fileno;
expect(tok!"case");
node.low = parseAssignExpression();
}
else
node.low = low;
if (expect(tok!":") is null) return null;
if (expect(tok!"..") is null) return null;
expect(tok!"case");