Fixed shadowing declaration

This commit is contained in:
Hackerpilot 2013-06-27 16:27:05 -07:00
parent 7a4e588793
commit ad8b4fdeaa
1 changed files with 3 additions and 3 deletions

View File

@ -2618,9 +2618,9 @@ body {} // six
{ {
advance(); advance();
node.hasRight = true; node.hasRight = true;
auto ident = expect(TokenType.identifier); auto id = expect(TokenType.identifier);
if (ident is null) return null; if (id is null) return null;
node.right = *ident; node.right = *id;
} }
return node; return node;
} }