summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-12-30 12:26:41 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-12-30 12:26:41 -0800
commitac08d22c2b916fbd88c938569e0cd6af488b7a67 (patch)
tree845a929d332f67cc7ec6bd5196b3acf3d52f69b7 /ChangeLog
parent0b81b8b4c39b6c60cbbe8de5a6a785beb43c3dbb (diff)
downloadtxr-ac08d22c2b916fbd88c938569e0cd6af488b7a67.tar.gz
txr-ac08d22c2b916fbd88c938569e0cd6af488b7a67.tar.bz2
txr-ac08d22c2b916fbd88c938569e0cd6af488b7a67.zip
* match.c (counter_k): New keyword symbol variable.
(do_output_line): Process new :counter argument of rep. (do_output): Ditto, for repeat. (syms_init): Intern new keyword symbol. * match.h (counter_k): Declared. * parser.l (REPEAT, REP): Lexical syntax changed to allow arguments. * parser.y (repeat_rep_helper): Takes extra argument, representing the repeat/rep args. This is inserted into the second position of the output list. (repeat_clause, rep_elem): Extract repeat/rep arguments and pass to repeat_rep_helper. (yybadtoken): Do not put quotes around the word "number". * txr.1: Updated.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 13c01dae..bab15280 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,24 @@
+2011-12-30 Kaz Kylheku <kaz@kylheku.com>
+
+ * match.c (counter_k): New keyword symbol variable.
+ (do_output_line): Process new :counter argument of rep.
+ (do_output): Ditto, for repeat.
+ (syms_init): Intern new keyword symbol.
+
+ * match.h (counter_k): Declared.
+
+ * parser.l (REPEAT, REP): Lexical syntax changed to
+ allow arguments.
+
+ * parser.y (repeat_rep_helper): Takes extra argument, representing
+ the repeat/rep args. This is inserted into the second position
+ of the output list.
+ (repeat_clause, rep_elem): Extract repeat/rep arguments and
+ pass to repeat_rep_helper.
+ (yybadtoken): Do not put quotes around the word "number".
+
+ * txr.1: Updated.
+
2011-12-29 Kaz Kylheku <kaz@kylheku.com>
New functionality: mod and modlast directives in repeat and rep.