summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-10-02 12:19:29 -0700
committerKaz Kylheku <kaz@kylheku.com>2011-10-02 12:20:10 -0700
commit024f101e97197d1001cb9dd3403eee4a2e4c35bf (patch)
treed43e499646c9055042e1cd2a1531591d5f42d2b7 /ChangeLog
parentb6f162c99e664b0deeb78b0c1c18eee3b0015267 (diff)
downloadtxr-024f101e97197d1001cb9dd3403eee4a2e4c35bf.tar.gz
txr-024f101e97197d1001cb9dd3403eee4a2e4c35bf.tar.bz2
txr-024f101e97197d1001cb9dd3403eee4a2e4c35bf.zip
Compiles as C++ again.
* lib.h (cons_set): New macro. * match.c (match_line, match_files): In collect clause handlers, move variable declarations above goto, and initialize with cons_set, instead of declaring and initializing with cons_bind. This eliminates the stupid C++ error that goto skips a variable initialization (which happens even when it can be trivially proven that the has no next use at the goto site!)
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4c267bdf..cf94b3b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2011-10-02 Kaz Kylheku <kaz@kylheku.com>
+
+ Compiles as C++ again.
+
+ * lib.h (cons_set): New macro.
+
+ * match.c (match_line, match_files): In collect clause handlers,
+ move variable declarations above goto, and initialize with
+ cons_set, instead of declaring and initializing with cons_bind.
+ This eliminates the stupid C++ error that goto skips a variable
+ initialization (which happens even when it can be trivially
+ proven that the has no next use at the goto site!)
+
2011-10-01 Kaz Kylheku <kaz@kylheku.com>
Version 038