diff dmd/Parser.d @ 96:acd69f84627e

further work
author Trass3r
date Tue, 31 Aug 2010 02:12:15 +0200
parents be2ab491772e
children 12c0c84d13fd
line wrap: on
line diff
--- a/dmd/Parser.d	Mon Aug 30 23:08:44 2010 +0200
+++ b/dmd/Parser.d	Tue Aug 31 02:12:15 2010 +0200
@@ -2666,9 +2666,9 @@
 						}
 						Identifier id = token.ident;
 						if (id is Id.property)
-						(cast(TypeFunction)tf).ispure = 1;
+						(cast(TypeFunction)tf).isproperty = 1;
 						else
-						error("valid attribute identifiers are property, not %s", id.toChars());
+						error("valid attribute identifiers are @property, not @%s", id.toChars());
 						nextToken();
 						continue;
 					default: