summaryrefslogtreecommitdiffstats
path: root/parser.l
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-10-19 08:56:09 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-10-19 08:56:09 -0700
commit57689fa47c1fcc67f224a81915a46e86af3e94be (patch)
treecf2b3dc5dade66ef081d00f608d0d9ff10d16494 /parser.l
parentf835bd19d1d65b1679f90aea56015704f11f8f4f (diff)
downloadtxr-57689fa47c1fcc67f224a81915a46e86af3e94be.tar.gz
txr-57689fa47c1fcc67f224a81915a46e86af3e94be.tar.bz2
txr-57689fa47c1fcc67f224a81915a46e86af3e94be.zip
* parser.y (r_exprs): New grammar symbol. r_exprs uses
left-recursive rules to avoid filling the yacc stack, and returns the items in reverse order. The output of each r_exprs-generating rule consists of a list which gives the terminating atom, and then the list contents in reverse order. (n_exprs): Becomes wrapper for r_exprs which deals with the terminating atom, and reversed items.
Diffstat (limited to 'parser.l')
0 files changed, 0 insertions, 0 deletions