[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/src/builtin.c [branch-1_4]
From: |
Eric Blake |
Subject: |
Changes to m4/src/builtin.c [branch-1_4] |
Date: |
Sun, 28 May 2006 04:24:03 +0000 |
Index: m4/src/builtin.c
diff -u m4/src/builtin.c:1.1.1.1.2.3 m4/src/builtin.c:1.1.1.1.2.4
--- m4/src/builtin.c:1.1.1.1.2.3 Sun May 1 11:54:12 2005
+++ m4/src/builtin.c Sun May 28 04:24:01 2006
@@ -231,16 +231,18 @@
for (bp = &builtin_tab[0]; bp->name != NULL; bp++)
if (!no_gnu_extensions || !bp->gnu_extension)
- if (prefix_all_builtins)
- {
- string = (char *) xmalloc (strlen (bp->name) + 4);
- strcpy (string, "m4_");
- strcat (string, bp->name);
- define_builtin (string, bp, SYMBOL_INSERT, FALSE);
- free (string);
- }
- else
- define_builtin (bp->name, bp, SYMBOL_INSERT, FALSE);
+ {
+ if (prefix_all_builtins)
+ {
+ string = (char *) xmalloc (strlen (bp->name) + 4);
+ strcpy (string, "m4_");
+ strcat (string, bp->name);
+ define_builtin (string, bp, SYMBOL_INSERT, FALSE);
+ free (string);
+ }
+ else
+ define_builtin (bp->name, bp, SYMBOL_INSERT, FALSE);
+ }
for (pp = &predefined_tab[0]; pp->func != NULL; pp++)
if (no_gnu_extensions)
- Changes to m4/src/builtin.c [branch-1_4],
Eric Blake <=