diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-03-25 06:57:25 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-03-25 06:57:25 -0700 |
commit | c60f5a54deed7064cb8aa32fb91c684ad049d2d3 (patch) | |
tree | 7f49a16663477c67910e53aae3475e97613e2274 /debug.c | |
parent | 8707c5ecbfc4ceeb1ceb2eb3015ce492bf99636a (diff) | |
download | txr-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 'debug.c')
0 files changed, 0 insertions, 0 deletions