[Mono-bugs] [Bug 52183][Nor] New - Parser error

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 15 Dec 2003 09:46:39 -0500 (EST)

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 cornel@profsys.iasi.rdsnet.ro.


--- shadow/52183	2003-12-15 09:46:39.000000000 -0500
+++ shadow/52183.tmp.24978	2003-12-15 09:46:39.000000000 -0500
@@ -0,0 +1,65 @@
+Bug#: 52183
+Product: Mono/Compilers
+Version: unspecified
+OS Details: Mandrake 9.1
+Status: NEW   
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: cornel@profsys.iasi.rdsnet.ro               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Parser error
+Please fill in this template when reporting a bug, unless you know what you are 
+Description of Problem: 
+Doesn't compile a program (incorrect written) - that's good, but doesn't give any 
+message about what is wrong with my code, or any message at all about my code. 
+Instead it tells me that the parser is wrong. 
+Steps to reproduce the problem: 
+1. Compile this program (mcs test.cs) 
+using System; 
+class t 
+        public void static Main (string[] args) 
+        { 
+                Console.WriteLine("Hello"); 
+        } 
+Actual Results: 
+Errors at compile time: 
+[root@cornel mono]# mcs test.cs 
+Mono.CSharp.yyParser.yyException: irrecoverable syntax error 
+in <0x00865> Mono.CSharp.CSharpParser:yyparse 
+in <0x00079> Mono.CSharp.CSharpParser:parse () 
+test.cs(5) error CS8025: Parsing error 
+Compilation failed: 1 error(s), 0 warnings 
+[root@cornel mono]# 
+Expected Results: 
+A message telling that the Main() method signature is wrong. 
+How often does this happen?  
+Additional Information: