CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 06/08/08 23:17:44
Index: ChangeLog
===================================================================
RCS file: /sources/m4/m4/ChangeLog,v
retrieving revision 1.1.1.1.2.149
retrieving revision 1.1.1.1.2.150
diff -u -b -r1.1.1.1.2.149 -r1.1.1.1.2.150
--- ChangeLog 8 Aug 2006 16:23:58 -0000 1.1.1.1.2.149
+++ ChangeLog 8 Aug 2006 23:17:43 -0000 1.1.1.1.2.150
@@ -1,5 +1,19 @@
2006-08-08 Eric Blake <[EMAIL PROTECTED]>
+ Avoid printing `NONE:0:' in error messages.
+ * src/m4.h (m4_error_at_line): New function.
+ * src/m4.c (m4_error_at_line): Implement.
+ * src/input.c (skip_line, input_init, next_token): Use "", not
+ "NONE", for no file, since NONE can be a real file name.
+ * src/macro.c (expand_argument): Likewise.
+ * src/debug.c (debug_message_prefix, trace_header): Check for
+ current file.
+ * doc/m4.texinfo (Dnl, M4wrap): Adjust accordingly.
+ (Location): Document that synclines and internal message format
+ are not impacted by redefining these macros.
+ (M4exit): Hint at bug in fatal_error.
+ (Answers): Provide workaround to match m4 output.
+
* m4/gnulib-cache.m4: Augment with gnulib-tool --import verror.
* src/m4.h (m4_error): New function.
(M4ERROR, M4ERROR_AT_LINE): Reimplement without hacking around
@@ -2772,4 +2786,4 @@
* Initial beta release. Release 0.50, manual 0.05.
- $Revision: 1.1.1.1.2.149 $ $Date: 2006/08/08 16:23:58 $
+ $Revision: 1.1.1.1.2.150 $ $Date: 2006/08/08 23:17:43 $