comparison dmd/Parser.d @ 132:c494af1dba80

Fixes for dmd 2.037
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Fri, 10 Sep 2010 19:14:09 +0100
parents 206db751bd4c
children af1bebfd96a4
comparison
equal deleted inserted replaced
131:206db751bd4c 132:c494af1dba80
3291 { 3291 {
3292 nextToken(); 3292 nextToken();
3293 condition = parseStaticIfCondition(); 3293 condition = parseStaticIfCondition();
3294 goto Lcondition; 3294 goto Lcondition;
3295 } 3295 }
3296 if (t.value == TOK.TOKstruct || t.value == TOK.TOKunion || t.value == TOK.TOKclass) 3296 if (tt.value == TOK.TOKstruct || tt.value == TOK.TOKunion || tt.value == TOK.TOKclass)
3297 { 3297 {
3298 nextToken(); 3298 nextToken();
3299 auto a = parseBlock(); 3299 auto a = parseBlock();
3300 Dsymbol d = new StorageClassDeclaration(STCstatic, a); 3300 Dsymbol d = new StorageClassDeclaration(STCstatic, a);
3301 s = new DeclarationStatement(loc, d); 3301 s = new DeclarationStatement(loc, d);