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

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
23 May 2002 19:45:06 -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 07:58:14 2002
+++ shadow/25170.tmp.19028	Thu May 23 15:45:06 2002
@@ -41,6 +41,22 @@
 
 
 ------- Additional Comments From richard.torkar@htu.se  2002-05-23 07:58 -------
 The typo is on line 11 where it says in instead of int...
 
 /Richard
+
+------- Additional Comments From gonzalo@ximian.com  2002-05-23 15:45 -------
+~/work/tests $ mcs 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
+error CS5001: Program intypo.exe does not have an entry point defined