m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/ChangeLog,v


From: Eric Blake
Subject: Changes to m4/ChangeLog,v
Date: Thu, 07 Sep 2006 23:53:05 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      06/09/07 23:53:04

Index: ChangeLog
===================================================================
RCS file: /sources/m4/m4/ChangeLog,v
retrieving revision 1.378
retrieving revision 1.379
diff -u -b -r1.378 -r1.379
--- ChangeLog   7 Sep 2006 16:41:24 -0000       1.378
+++ ChangeLog   7 Sep 2006 23:53:04 -0000       1.379
@@ -1,5 +1,34 @@
 2006-09-07  Eric Blake  <address@hidden>
 
+       * m4/m4module.h (m4_peek_input): No longer export.
+       (m4_error_at_line, m4_warn_at_line): New prototypes.
+       (m4_is_symbol_void): New macro.
+       (m4_push_file): Update prototype.
+       * m4/m4private.h (m4__peek_token): New prototype.
+       (M4_TOKEN_OPEN, M4_TOKEN_COMMA, M4_TOKEN_CLOSE): New enumerators.
+       * m4/utility.c (m4_error_at_line, m4_warn_at_line): New functions.
+       * src/main.c (main): Allow reading from stdin twice.
+       * modules/m4.c (include): Adjust to new prototype.
+       * m4/input.c: General comment cleanup.
+       (file_peek, file_read, file_unget, push_file): Set end flag on
+       EOF, so that we don't call getc twice.
+       (push_file, file_clean): Port fix from branch to avoid closing
+       stdin prematurely.
+       (pop_input): Port fix from branch to avoid reading free'd memory
+       when input ends mid-string.
+       (m4_pop_wrapup): Port fix from branch to allow multiple m4wraps.
+       (string_peek, string_read): Always use unsigned char.
+       (m4_skip_line): Warn when dnl cut short by EOF.
+       (peek_input): Rename from m4_peek_input.
+       (match_input): Update signature, to distinguish between `(' token
+       and multi-char quote or comment beginning with `('.
+       (m4_input_exit): Cleanup now done in m4_pop_wrapup.
+       (m4__peek_token): New function, ported from branch.
+       (m4__next_token): Update to new token types.
+       * m4/macro.c (expand_token, expand_argument): Use peek_token.
+       * doc/m4.texinfo (Pseudo Arguments, Defn, Answers): Fix typos.
+       (Invoking m4): Remerge from branch.
+
        * Makefile.am ($(TESTSUITE)): Revert patch from 2006-09-05...
        (check-local): and put dependency here.
        Reported by Ralf Wildenhues.
@@ -7370,7 +7399,7 @@
 
        -----
 
-       $Revision: 1.378 $ $Date: 2006/09/07 16:41:24 $
+       $Revision: 1.379 $ $Date: 2006/09/07 23:53:04 $
 
        Local Variables:
        coding: utf-8




reply via email to

[Prev in Thread] Current Thread [Next in Thread]