Menu

Diff of /trunk/python/python.class [r11] .. [r12]  Maximize  Restore

Switch to side-by-side view

--- a/trunk/python/python.class
+++ b/trunk/python/python.class
@@ -178,7 +178,7 @@
 # (7) 'for_stmt'7 :=  FOR  exprlist  IN  testlist  COLON
 #
 $result = reset($tokens);
- foreach(array("a") as $c): 
+ python_for(); 
 }
 
 function reduce_8_for_stmt_1($tokens, &$result) {
@@ -186,7 +186,7 @@
 # (8) for_stmt :=  'for_stmt'7  suite
 #
 $result = reset($tokens);
- endforeach; 
+ python_end_for(); 
 }
 
 function reduce_9_exprlist_1($tokens, &$result) {
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.