added TODO deeply nested arguments still fails

This commit is contained in:
Eric Schulte 2009-07-22 12:05:02 -06:00
parent 8df56a1026
commit bbc08d3949
1 changed files with 17 additions and 3 deletions

View File

@ -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
@ -2548,7 +2548,7 @@ arg
#+end_src #+end_src
#+resname: #+resname:
: 99 : 4
#+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()))
@ -2558,6 +2558,20 @@ arg
#+resname: #+resname:
: 99 : 99
*** TODO deeply nested arguments still fails
#+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:
: 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