summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2008-12-24 14:34:06 -0700
committerEric Blake <ebb9@byu.net>2008-12-24 14:34:06 -0700
commitc557201fd9771b93dd5b3193af322d7d86a4cf45 (patch)
tree8c21ac989bceb3c1af68d01394b11edb59f1c148 /NEWS
parent268aa74a4cd66160d4c589572294e50f455c2069 (diff)
downloadm4-c557201fd9771b93dd5b3193af322d7d86a4cf45.tar.gz
Relax eval as allowed by POSIX 2008.
* modules/evalparse.c (m4_evaluate): Warn, not error, on invalid operator. Quote expression in warning. * modules/mpeval.c (includes): Add quotearg.h. * doc/m4.texinfo (Eval, Improved forloop): Update tests. * NEWS: Update to reflect 1.6 support for `?:'. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4180190d..ca4e0b0b 100644
--- a/NEWS
+++ b/NEWS
@@ -158,7 +158,7 @@ promoted to 2.0.
first line to show the definition of the macro being expanded.
*** The `eval' and `mpeval' builtins now support the following new
- operators: `>>>', `\', `?:', and `,'.
+ operators: `>>>', `\', and `,'.
*** The `maketemp' builtin now always warns that it is obsolete, even in GNU
mode where it uses the same secure algorithm as `mkstemp', because of
@@ -296,6 +296,10 @@ promoted to 2.0.
context of a macro name, rather than acting on the empty string. This
was already done for `define', `pushdef', `builtin', and `indir'.
+** Enhance the `eval' builtin to understand the `?:' operator, and
+ downgrade a failed parse due to an unknown operator from an error to a
+ warning.
+
** A number of portability improvements inherited from gnulib.
* Noteworthy changes in Version 1.4.10b (2008-02-25) [beta]