summaryrefslogtreecommitdiffstats
path: root/match.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-03-25 06:57:25 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-03-25 06:57:25 -0700
commitc60f5a54deed7064cb8aa32fb91c684ad049d2d3 (patch)
tree7f49a16663477c67910e53aae3475e97613e2274 /match.h
parent8707c5ecbfc4ceeb1ceb2eb3015ce492bf99636a (diff)
downloadtxr-c60f5a54deed7064cb8aa32fb91c684ad049d2d3.tar.gz
txr-c60f5a54deed7064cb8aa32fb91c684ad049d2d3.tar.bz2
txr-c60f5a54deed7064cb8aa32fb91c684ad049d2d3.zip
Introducing word list literals.
* parser.l (WLIT): New exclusive start state. Extend lexical grammar to transition to WLIT state upon the #" or #*" sequence which kicks off a word literal, and in that state, piecewise lexically analyze the literal, mostly by borrowing rules from other literals. * parser.y (WORDS, WSPLICE): New tokens. (n_exprs): Integrate splicing form of word list literal syntax. (n_expr): Integrate non-splicit for of word list literal syntax. (litchars): Propagate line number info. (wordslit): New grammar rule. * txr.1: Updated.
Diffstat (limited to 'match.h')
0 files changed, 0 insertions, 0 deletions