rev 654 - trunk/src

SVN User <[email protected]> Wed, 23 Jun 2004 02:01:47 -0400
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: mark
Date: 2004-06-23 02:01:44 -0400 (Wed, 23 Jun 2004)
New Revision: 654

Modified:
   trunk/src/prothon.y
Log:
you now must use "except Exception" insted of empty except

Modified: trunk/src/prothon.y
===================================================================
--- trunk/src/prothon.y	2004-06-23 05:57:36 UTC (rev 653)
+++ trunk/src/prothon.y	2004-06-23 06:01:44 UTC (rev 654)
@@ -372,8 +372,7 @@
 	|	mul_except except											{ $$ = append_list(yylex_param, $1, $2); }
 	;
 except:
-		EXCEPT_ compound_body										{ $$ = expr_label_body_to_except(yylex_param, exceptall(yylex_param), NULL, $2); }
-	|	EXCEPT_ expr compound_body									{ $$ = expr_label_body_to_except(yylex_param, $2, NULL, $3); }
+		EXCEPT_ expr compound_body									{ $$ = expr_label_body_to_except(yylex_param, $2, NULL, $3); }
 	|	EXCEPT_ expr ',' LABEL compound_body						{ $$ = expr_label_body_to_except(yylex_param, $2, $4, $5); }
 	;
 else_except: