Re: change* cleanup

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Message-ID <[email protected]>
Eric Blake <ebb9 <at> byu.net> writes:

> 
> I've been slowly developing this patch for a couple months now.  It cleans up 
> syntax.c, and in the process makes changequote and changecom merged with 
branch 
> behavior, makes changesyntax a little more usable,

And to avoid regressions, I'd better stress it in the testsuite:

2006-12-26  Eric Blake  <[email protected]>

	* doc/m4.texinfo (Changesyntax): Check for regressions with
	changesyntax(W=...).


Index: doc/m4.texinfo
===================================================================
RCS file: /sources/m4/m4/doc/m4.texinfo,v
retrieving revision 1.85
diff -u -r1.85 m4.texinfo
--- doc/m4.texinfo	23 Dec 2006 00:02:20 -0000	1.85
+++ doc/m4.texinfo	26 Dec 2006 21:05:07 -0000
@@ -4287,6 +4287,8 @@
 @example
 define(`test.1', `TEST ONE')
 @result{}
+define(`1', `one')
+@result{}
 __file__
 @result{}stdin
 test.1
@@ -4297,6 +4299,12 @@
 @result{}__file__
 test.1
 @result{}TEST ONE
+changesyntax(`W=a-zA-Z0-9_')
+@result{}
+__file__
+@result{}stdin
+test.1
+@result{}test.one
 changesyntax(`W')
 @result{}
 __file__
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.