[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/repeat.c
From: |
John Darrington |
Subject: |
[Pspp-cvs] Changes to pspp/src/repeat.c |
Date: |
Wed, 27 Apr 2005 00:45:29 -0400 |
Index: pspp/src/repeat.c
diff -u pspp/src/repeat.c:1.13 pspp/src/repeat.c:1.14
--- pspp/src/repeat.c:1.13 Wed Apr 13 10:09:59 2005
+++ pspp/src/repeat.c Wed Apr 27 04:45:26 2005
@@ -40,7 +40,7 @@
struct repeat_entry
{
int type; /* 1=variable names, 0=any other. */
- char id[SHORT_NAME_LEN + 1]; /* Macro identifier. */
+ char id[LONG_NAME_LEN + 1]; /* Macro identifier. */
char **replacement; /* Macro replacement. */
struct repeat_entry *next;
};
@@ -125,7 +125,7 @@
internal_cmd_do_repeat (void)
{
/* Name of first DO REPEAT macro. */
- char first_name[SHORT_NAME_LEN + 1];
+ char first_name[LONG_NAME_LEN + 1];
/* Current filename. */
const char *current_filename = NULL;
@@ -553,12 +553,12 @@
/* Collect an identifier. */
{
- char name[SHORT_NAME_LEN + 1];
+ char name[LONG_NAME_LEN + 1];
char *start = cp;
char *np = name;
char *substitution;
- while (CHAR_IS_IDN (*cp) && np < &name[SHORT_NAME_LEN])
+ while (CHAR_IS_IDN (*cp) && np < &name[LONG_NAME_LEN])
*np++ = *cp++;
while (CHAR_IS_IDN (*cp))
cp++;