diff dmd/FuncDeclaration.d @ 131:206db751bd4c

dmdfe 2.037 compiles now
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Fri, 10 Sep 2010 00:27:37 +0100
parents 60bb0fe4563e
children af1bebfd96a4
line wrap: on
line diff
--- a/dmd/FuncDeclaration.d	Thu Sep 09 22:51:44 2010 +0100
+++ b/dmd/FuncDeclaration.d	Fri Sep 10 00:27:37 2010 +0100
@@ -195,7 +195,7 @@
     int nestedFrameRef;			// !=0 if nested variables referenced
 }
 
-    this(Loc loc, Loc endloc, Identifier id, STC storage_class, Type type)
+    this(Loc loc, Loc endloc, Identifier id, StorageClass storage_class, Type type)
 	{
 		super(id);
 
@@ -313,7 +313,7 @@
 			 * to the function type
 			 */
 			type = type.semantic(loc, sc);
-			STC stc = storage_class;
+			StorageClass stc = storage_class;
 			if (type.isInvariant())
 				stc |= STC.STCimmutable;
 			if (type.isConst())