فهرست منبع

'Then' now optional for both one-liner and blocks Ifs.

Mark Sibly 9 سال پیش
والد
کامیت
8f0d48a5ae
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      src/mx2new/parser.monkey2

+ 3 - 1
src/mx2new/parser.monkey2

@@ -687,9 +687,11 @@ Class Parser
 			
 			cond=ParseExpr()
 			
+			CParse( "then" )
+			
 			block=CParseEol()
 			
-			If Not block CParse( "then" )
+'			If Not block CParse( "then" )
 			
 		Catch ex:ParseEx