From 558f2a3dd52cea1fee37719bb6a0b1e86c2e3ab3 Mon Sep 17 00:00:00 2001 From: Greg McGary Date: Wed, 18 Nov 1998 23:54:08 +0000 Subject: * libidu/scanners.c (id_0): Increase size and make file static. --- ChangeLog | 16 ++++++++++------ libidu/scanners.c | 4 +--- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index f0ad7e0..7b416bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +1998-11-18 Greg McGary + + * libidu/scanners.c (id_0): Increase size and make file static. + Tue Aug 6 22:46:16 1996 Greg McGary * Version 3.2 released @@ -10,11 +14,11 @@ Tue Aug 6 22:46:16 1996 Greg McGary * src/xtokid.c, libidu/idfile.h: #include "xstring.h" to avoid redeclaration of basename/dirname error. - + Wed Jul 17 18:06:18 1996 Greg McGary - + * Version 3.1 released - + Sun Jun 30 13:06:18 1996 Greg McGary * src/lid.c (get_query_func): remove unreachable return stmt. @@ -27,7 +31,7 @@ Sun Jun 30 13:06:18 1996 Greg McGary * libidu/scanners.c (get_token_c, get_token_asm, get_token_text): cast return type of obstack_finish. - + * src/lid.c (radix, delimiter_style, pattern_style, key_style, result_style, key_style, result_style) libidu/idfile.h (separator_style): remove trailing comma from enum list. @@ -119,13 +123,13 @@ Mon Feb 20 16:18:47 1995 Greg McGary Sun Feb 19 19:21:09 1995 Thomas Neumann - + * configure.in: Check for , not . * accconfig.h: Disbale HAVE_TERMIOS_H for NeXT, if HAVE_SGTTY_H is present. * lid.c: Depend on HAVE_SGTTY_H, not HAVE_SGTTYB_H. (savetty): ANSI'fy arglist declaration. - + Sat Feb 18 21:44:39 1995 Greg McGary * Version 3.0.6 released. diff --git a/libidu/scanners.c b/libidu/scanners.c index fceeb1c..d60f939 100644 --- a/libidu/scanners.c +++ b/libidu/scanners.c @@ -473,6 +473,7 @@ parse_args_c (char **argv, int argc) return args; } +static char id_0[1<<020]; /* Grab the next identifier from the C source file. This state machine is built for speed, not elegance. */ @@ -483,7 +484,6 @@ get_token_c (FILE *in_FILE, void const *args, int *flags) #define ARGS ((struct args_c const *) args) static int new_line = 1; unsigned short const *rct = &ARGS->ctype[1]; - char id_0[BUFSIZ]; char *id = id_0; int c; @@ -869,7 +869,6 @@ get_token_asm (FILE *in_FILE, void const *args, int *flags) #define ARGS ((struct args_asm const *) args) static int new_line = 1; unsigned char const *rct = &ARGS->ctype[1]; - char id_0[BUFSIZ]; char *id = id_0; int c; @@ -1154,7 +1153,6 @@ static struct token * get_token_text (FILE *in_FILE, void const *args, int *flags) { #define ARGS ((struct args_text const *) args) - static char id_0[BUFSIZ]; unsigned char const *rct = &ARGS->ctype[1]; int c; char *id = id_0; -- cgit v1.2.3