summaryrefslogtreecommitdiff
path: root/modules/m4.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2007-02-28 14:36:22 +0000
committerEric Blake <ebb9@byu.net>2007-10-06 07:08:10 -0600
commit083f98f05fadf5b6256b7facb37a120955f58c00 (patch)
tree3aa8f7007566b5d97110b3d66c510be31dd36088 /modules/m4.c
parent99b4464c8106a77ab67bea43f5935eb736f13efb (diff)
downloadm4-083f98f05fadf5b6256b7facb37a120955f58c00.tar.gz
POSIX XCU ERN 118 was approved.
* modules/m4.c (define): Kill posixly_correct distinction in define behavior, since POSIX says GNU behavior complies. * tests/builtins.at (define): Restore original semantics. * doc/m4.texinfo (Pushdef): Document portability issues with define. (Incompatibilities): Clean up wording of what POSIX requires. * NEWS: Document this.
Diffstat (limited to 'modules/m4.c')
-rw-r--r--modules/m4.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/m4.c b/modules/m4.c
index cd96a369..3313dede 100644
--- a/modules/m4.c
+++ b/modules/m4.c
@@ -1,5 +1,6 @@
/* GNU m4 -- A simple macro processor
- Copyright (C) 2000, 2002, 2003, 2004, 2006, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002, 2003, 2004, 2006, 2007 Free Software
+ Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -180,9 +181,6 @@ M4BUILTIN_HANDLER (define)
else
m4_symbol_value_copy (value, argv[2]);
- if (m4_get_posixly_correct_opt (context))
- m4_symbol_delete (M4SYMTAB, M4ARG (1));
-
m4_symbol_define (M4SYMTAB, M4ARG (1), value);
}
else