diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-10-03 08:23:36 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-10-03 08:53:40 -0700 |
commit | 972fd2cff9ff7e3981acc4c3807a529e1b40d0bf (patch) | |
tree | 8d2d0d21205d74600cc25f3c9a4134b96b66cffb /txr.h | |
parent | 090f4dee78f7a7239ebd515993412f9505001fa9 (diff) | |
download | txr-972fd2cff9ff7e3981acc4c3807a529e1b40d0bf.tar.gz txr-972fd2cff9ff7e3981acc4c3807a529e1b40d0bf.tar.bz2 txr-972fd2cff9ff7e3981acc4c3807a529e1b40d0bf.zip |
Eliminating the extra list wrapping applied to regular
expression objects in the syntax tree. The parser
just puts out a #<regex ...> instead of (#<regex ...> regex-syntax).
* eval.c (do_eval): We no longer need the hack of
treating (#<regex> ...) as a special form which
evaluates to #<regex>.
(expand): We no longer have to skip over regex syntax,
so the case is removed.
* match.c (h_var, do_txeval, do_match_line): regexp cases are no longer
subcases of consp but stand on their own. In do_match_line, we
introduce a COBJ case into the type switch for regexes.
* parser.y: regexes are now compiled in the regex and lisp_regex
grammar rules instead of the dependent rules, and are not wrapped in
extra syntax.
Diffstat (limited to 'txr.h')
0 files changed, 0 insertions, 0 deletions