diff CHANGES @ 192:255db24bc29b

Fix output corruption; see CHANGES entry.
author David A. Holland
date Fri, 12 Jun 2015 21:54:32 -0400
parents c8d4ab9aeff0
children 079304130850
line wrap: on
line diff
--- a/CHANGES	Fri Jun 12 20:06:55 2015 -0400
+++ b/CHANGES	Fri Jun 12 21:54:32 2015 -0400
@@ -1,4 +1,10 @@
 pending
+   - Fix output corruption caused by mishandling which macros are
+     currently in use. In particular, "curmacro" is only valid while
+     we're parsing a macro name and arguments, and can change once we
+     start expanding, so don't use it to clear the in-use flag.
+   - Also don't set curmacro to null after calling expand_domacro as
+     that can cause us to think a macro name we just read is defined().
    - Don't use "remove" as a local variable as gcc 4.1 gets upset
      about it vs. remove(3) in stdio.h.