CVSROOT: /sources/m4 Module name: m4 Branch: branch Changes by: Eric Blake <ericb> 06/06/06 12:39:53
Index: NEWS =================================================================== RCS file: /sources/m4/m4/NEWS,v retrieving revision 1.1.1.1.2.15 retrieving revision 1.1.1.1.2.16 diff -u -b -r1.1.1.1.2.15 -r1.1.1.1.2.16 --- NEWS 6 Jun 2006 12:28:46 -0000 1.1.1.1.2.15 +++ NEWS 6 Jun 2006 12:39:53 -0000 1.1.1.1.2.16 @@ -14,6 +14,11 @@ longer warn about undefined symbols. This solves a crash when using indir on an undefined macro traced with the -t option, as well as an incorrect result of ifdef. +* Fix a crash when a macro is undefined while collecting its arguments, by + always using the definition that was in effect before argument + collection. This behavior matches the C pre-processor, and means that + the sequence "define(`f',`1')f(define(`f',`2'))f" now results in "12" + rather than the previously undocumented "22". Version 1.4.4 - October 2005, by Gary V. Vaughan
