summaryrefslogtreecommitdiffstats
path: root/mpi-patches/mpi-set-mpi-word
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-04-12 22:32:33 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-04-12 22:32:33 -0700
commitcceee8693a03ffab73b9e41ad1d07f8383e6a7aa (patch)
treeabb48dac71acc445933ed351adb1e0a41da6d72e /mpi-patches/mpi-set-mpi-word
parent49256d6d022226bc0a5c92e44ef0757ab025a3bc (diff)
downloadtxr-cceee8693a03ffab73b9e41ad1d07f8383e6a7aa.tar.gz
txr-cceee8693a03ffab73b9e41ad1d07f8383e6a7aa.tar.bz2
txr-cceee8693a03ffab73b9e41ad1d07f8383e6a7aa.zip
Improve the regex Lisp syntax by allowing strings to specify
character compounds. I.e. the syntax "foo" is equivalent to the cumbersome canonical form (compound #\f #\o #\o). * regex.c (nfa_compile_regex, dv_compile_regex): Use chrp function instead of typeof. Handle stringp case by forming a compound out of the characters and recursing. Check for some bad objects in the regex that would never come out of our regex parser but could occur in a "hand crafted" syntax tree.
Diffstat (limited to 'mpi-patches/mpi-set-mpi-word')
0 files changed, 0 insertions, 0 deletions