Have configure build version string instead of relying on ANSI string

concatentation.
This commit is contained in:
Jesse Thilo
1999-06-14 22:22:25 +00:00
parent 2411ba6bea
commit 6ed6122606
6 changed files with 7 additions and 12 deletions

View File

@@ -136,8 +136,6 @@ static bucket *undeftoken;
/* Nonzero if any action or guard uses the @n construct. */
static int yylsp_needed;
extern char *version_string;
static void
skip_to_char (int target)
@@ -209,7 +207,7 @@ reader (void)
infile);
else
fprintf(ftable, "\n/* A Bison parser, made from %s\n", infile);
fprintf(ftable, " by %s */\n\n", version_string);
fprintf(ftable, " by %s */\n\n", VERSION_STRING);
fprintf(ftable, "#define YYBISON 1 /* Identify Bison output. */\n\n");
read_declarations();
/* start writing the guard and action files, if they are needed. */