Browse Source

A couple of fixes to sketched-out parsing algorithm.

Dan Davison 16 years ago
parent
commit
4589aacb51
1 changed files with 2 additions and 1 deletions
  1. 2 1
      org-babel.org

+ 2 - 1
org-babel.org

@@ -266,12 +266,13 @@ would then be [[#sandbox][the sandbox]].
       if c == '=':
           new = Node()
           node.daughters = [node.daughters, new]
+          new.parent = node
           node = new
           whereami = "refname"
       if c == ',':
           whereami = "varname"
           varnum += 1
-      elif c == '(':
+      elif c == ')':
           node = node.parent
       elif c == ' ':
           pass