Author: fperrad
Date: Mon Nov 10 23:56:14 2008
New Revision: 32523

Modified:
   trunk/languages/lua/src/POSTGrammar.tg

Log:
[Lua] tailcall
- revisit r32520

Modified: trunk/languages/lua/src/POSTGrammar.tg
==============================================================================
--- trunk/languages/lua/src/POSTGrammar.tg      (original)
+++ trunk/languages/lua/src/POSTGrammar.tg      Mon Nov 10 23:56:14 2008
@@ -648,11 +648,9 @@
     if arglist goto L4
     $P0.'pirop'('tailcall')
     # remove useless new LuaNil
-    $P0 = ops.'pop'()
-    ops.'push'($P0)
-    $P1 = $P0.'pop'()
-    $P2 = $P0.'pop'()
-    $P0.'push'($P1)
+    $P1 = cpost.'pop'()
+    $P2 = cpost.'pop'()
+    cpost.'push'($P1)
     .return (ops)
   L4:
     $S1 = '(' . $S0

Reply via email to