[Mono-bugs] [Bug 25170] Changed - mcs bails on a small typo.....

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
23 May 2002 22:55:41 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gonzalo@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=25170

--- shadow/25170	Thu May 23 16:11:11 2002
+++ shadow/25170.tmp.26927	Thu May 23 18:55:41 2002
@@ -100,6 +100,25 @@
 mcs --target library Calc.cs
 
 and I meant "very" too of course ;)
 
 
 /Richard
+
+------- Additional Comments From gonzalo@ximian.com  2002-05-23 18:55 -------
+~/work/tests $ mcs --target library intypo.cs
+syntax error, expecting ABSTRACT BOOL BYTE CHAR CLASS CONST DECIMAL
+DELEGATE DOUBLE ENUM EVENT EXPLICIT EXTERN
+ FLOAT IMPLICIT INT INTERFACE INTERNAL LONG NEW OBJECT OVERRIDE
+PRIVATE PROTECTED PUBLIC READONLY SBYTE SEALED
+ SHORT STATIC STRING STRUCT UINT ULONG UNSAFE USHORT VIRTUAL VOID
+VOLATILE IDENTIFIER
+intypo.cs (10,21), Token:294   : Parsing error
+Mono.CSharp.yyParser.yyException: irrecoverable syntax error
+   at Mono.CSharp.CSharpParser.yyparse(yyInput yyLex) in
+C:\cygwin\home\lalo\go-mono\mcs\mcs\-:line 887
+   at Mono.CSharp.CSharpParser.parse() in
+C:\cygwin\home\lalo\go-mono\mcs\mcs\cs-parser.jay:line 3938
+~/work/tests $
+
+
+This is what i get with the current CVS.