summaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-10-03 08:23:36 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-10-03 08:53:40 -0700
commit972fd2cff9ff7e3981acc4c3807a529e1b40d0bf (patch)
tree8d2d0d21205d74600cc25f3c9a4134b96b66cffb /regex.c
parent090f4dee78f7a7239ebd515993412f9505001fa9 (diff)
downloadtxr-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 'regex.c')
0 files changed, 0 insertions, 0 deletions