Browse Source

added TODO deeply nested arguments still fails

Eric Schulte 16 years ago
parent
commit
bbc08d3949
1 changed files with 16 additions and 2 deletions
  1. 16 2
      org-babel.org

+ 16 - 2
org-babel.org

@@ -2284,7 +2284,7 @@ plot data using 1:2 with lines
 
 
 
 
 * Bugs [24/36]
 * Bugs [24/36]
-** TODO Fix nested evaluation
+** STARTED Fix nested evaluation
    The current parser / evaluator fails with greater levels of nested
    The current parser / evaluator fails with greater levels of nested
    function block calls (example below).
    function block calls (example below).
 
 
@@ -2533,8 +2533,8 @@ a+b
 #+end_src
 #+end_src
 
 
 #+resname: adder
 #+resname: adder
-: 99
 
 
+: 99
 
 
 #+srcname: one()
 #+srcname: one()
 #+begin_src python :results silent
 #+begin_src python :results silent
@@ -2547,9 +2547,19 @@ a+b
 arg
 arg
 #+end_src
 #+end_src
 
 
+#+resname:
+: 4
+
+#+srcname: level-one-nesting
+#+begin_src python :var arg=adder(a=adder(a=one(),b=one()),b=adder(a=one(),b=one()))
+arg
+#+end_src
+
 #+resname:
 #+resname:
 : 99
 : 99
 
 
+*** TODO deeply nested arguments still fails
+
 #+srcname: level-one-nesting
 #+srcname: level-one-nesting
 #+begin_src python :var arg=adder(a=adder(a=one(),b=one()),b=adder(a=one(),b=one()))
 #+begin_src python :var arg=adder(a=adder(a=one(),b=one()),b=adder(a=one(),b=one()))
 arg
 arg
@@ -2558,6 +2568,10 @@ arg
 #+resname:
 #+resname:
 : 99
 : 99
 
 
+results in this error
+
+: progn: reference 'one(' not found in this buffer
+
 ** TODO allow srcname to omit function call parentheses
 ** TODO allow srcname to omit function call parentheses
    Someone needs to revisit those regexps. Is there an argument for
    Someone needs to revisit those regexps. Is there an argument for
    moving some of the regexps used to match function calls into
    moving some of the regexps used to match function calls into