[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/src/Attic/input.c,v [branch-1_4]
From: |
Eric Blake |
Subject: |
Changes to m4/src/Attic/input.c,v [branch-1_4] |
Date: |
Sun, 28 Jan 2007 01:55:00 +0000 |
CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 07/01/28 01:54:44
Index: src/input.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/input.c,v
retrieving revision 1.1.1.1.2.32
retrieving revision 1.1.1.1.2.33
diff -u -b -r1.1.1.1.2.32 -r1.1.1.1.2.33
--- src/input.c 1 Nov 2006 22:29:08 -0000 1.1.1.1.2.32
+++ src/input.c 28 Jan 2007 01:54:44 -0000 1.1.1.1.2.33
@@ -1,6 +1,6 @@
/* GNU m4 -- A simple macro processor
- Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 2004, 2005, 2006
+ Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 2004, 2005, 2006, 2007
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -752,15 +752,6 @@
#ifdef ENABLE_CHANGEWORD
-static void
-init_pattern_buffer (struct re_pattern_buffer *buf)
-{
- buf->translate = NULL;
- buf->fastmap = NULL;
- buf->buffer = NULL;
- buf->allocated = 0;
-}
-
void
set_word_regexp (const char *regexp)
{
@@ -776,7 +767,7 @@
}
/* Dry run to see whether the new expression is compilable. */
- init_pattern_buffer (&new_word_regexp);
+ init_pattern_buffer (&new_word_regexp, NULL);
msg = re_compile_pattern (regexp, strlen (regexp), &new_word_regexp);
regfree (&new_word_regexp);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to m4/src/Attic/input.c,v [branch-1_4],
Eric Blake <=