This fixes a testsuite failure.
Andreas.
2006-07-17 Andreas Schwab <[EMAIL PROTECTED]>
* src/builtin.c (substitute): Don't run past EOS.
--- src/builtin.c.~1.1.1.1.2.25.~ 2006-07-17 14:05:37.000000000 +0200
+++ src/builtin.c 2006-07-17 14:13:01.000000000 +0200
@@ -1657,7 +1657,7 @@ Warning: sub-expression %d not present",
case '\0':
M4ERROR ((warning_status, 0, "\
Warning: trailing \\ ignored in replacement"));
- break;
+ return;
default:
obstack_1grow (obs, ch);
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
_______________________________________________
Bug-m4 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-m4