diff 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
line wrap: on
line diff
--- a/dmd/Parser.d	Fri Sep 10 00:27:37 2010 +0100
+++ b/dmd/Parser.d	Fri Sep 10 19:14:09 2010 +0100
@@ -3293,7 +3293,7 @@
 				condition = parseStaticIfCondition();
 				goto Lcondition;
 			}
-	        if (t.value == TOK.TOKstruct || t.value == TOK.TOKunion || t.value == TOK.TOKclass)
+	        if (tt.value == TOK.TOKstruct || tt.value == TOK.TOKunion || tt.value == TOK.TOKclass)
 	        {
 		        nextToken();
 		        auto a = parseBlock();