Author: marek
Date: 2007-06-13 06:19:39 -0400 (Wed, 13 Jun 2007)
New Revision: 79393
Modified:
trunk/mcs/mcs/cs-tokenizer.cs
Log:
Fixed wrongly saved file
Modified: trunk/mcs/mcs/cs-tokenizer.cs
===================================================================
--- trunk/mcs/mcs/cs-tokenizer.cs 2007-06-13 10:08:50 UTC (rev 79392)
+++ trunk/mcs/mcs/cs-tokenizer.cs 2007-06-13 10:19:39 UTC (rev 79393)
@@ -2372,15 +2372,16 @@
PopPosition ();
- if (ok)
+ if (ok) {
+ if (RootContext.Version ==
LanguageVersion.ISO_1)
+ Report.FeatureIsNotISO1
(Location, "partial types");
+
return res;
+ }
if (next_token < Token.LAST_KEYWORD)
Report.Error (267, Location, "The
`partial' modifier can be used only immediately before keyword `class',
`struct', or `interface'");
- if (RootContext.Version ==
LanguageVersion.ISO_1)
- Report.FeatureIsNotISO1 (Location,
"partial types");
-
val = new LocatedToken (Location, "partial");
return Token.IDENTIFIER;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches