diff python/testc3.py @ 280:02385f62f250

Rework from str interface to Instruction interface
author Windel Bouwman
date Sat, 02 Nov 2013 10:03:26 +0100
parents e64bae57cda8
children
line wrap: on
line diff
--- a/python/testc3.py	Sat Oct 12 09:56:23 2013 +0200
+++ b/python/testc3.py	Sat Nov 02 10:03:26 2013 +0100
@@ -296,7 +296,9 @@
          var int* pa, pb;
          function void t(int a, double b)
          {
-            pa = &a;
+            var int a2;
+            a2 = a; // parameters cannot be escaped for now..
+            pa = &a2;
             pb = pa;
             *pa = 22;
          }