Enhance substr to support negative values.
commitae9dfa87a514d290fe349710a9f643d52856f4ba
authorEric Blake <ebb9@byu.net>
Wed, 7 Jan 2009 05:03:27 +0000 (6 22:03 -0700)
committerEric Blake <ebb9@byu.net>
Wed, 7 Jan 2009 21:11:08 +0000 (7 14:11 -0700)
tree56561d37876dd6b774b9ce07e608c3df436a9093
parente6819ca240b76700f07c31ba157f7795caada02e
Enhance substr to support negative values.

* doc/m4.texinfo (Substr): Document new semantics, and how to
simulate old.
* modules/m4.c (substr): Support negative values.
* NEWS: Document this.

Signed-off-by: Eric Blake <ebb9@byu.net>
(cherry picked from commit e9e4abba45f7e9f368cf497e14bc2ce64b867a02)
ChangeLog
NEWS
doc/m4.texinfo
modules/m4.c