This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU M4 source repository".
http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=efb88298e6f6933335f9cdfb1d96753271052efb The branch, master has been updated via efb88298e6f6933335f9cdfb1d96753271052efb (commit) from 8c26ddfb1acdeb708111c2f410027af0dc25978e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit efb88298e6f6933335f9cdfb1d96753271052efb Author: Eric Blake <[email protected]> Date: Fri Feb 13 06:02:22 2009 -0700 Speed up parsing when detecting input file change. * m4/input.c (next_char): Clear input_change flag. Bug introduced 2006-10-25. Signed-off-by: Eric Blake <[email protected]> ----------------------------------------------------------------------- Summary of changes: ChangeLog | 6 ++++++ m4/input.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a0802ed..6717a8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-02-13 Eric Blake <[email protected]> + + Speed up parsing when detecting input file change. + * m4/input.c (next_char): Clear input_change flag. Bug introduced + 2006-10-25. + 2009-02-12 Eric Blake <[email protected]> Avoid quadratic code when walking definition stack. diff --git a/m4/input.c b/m4/input.c index c3c47d0..2672386 100644 --- a/m4/input.c +++ b/m4/input.c @@ -1,6 +1,6 @@ /* GNU m4 -- A simple macro processor - Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 2006, 2007, 2008 - Free Software Foundation, Inc. + Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 2006, 2007, 2008, + 2009 Free Software Foundation, Inc. This file is part of GNU M4. @@ -1287,6 +1287,7 @@ next_char (m4 *context, bool allow_quote, bool allow_argv, bool allow_unget) { m4_set_current_file (context, isp->file); m4_set_current_line (context, isp->line); + input_change = false; } assert (isp->funcs->read_func); hooks/post-receive -- GNU M4 source repository
