Don't use the distributed yacc'd and lex'd files; build our own with

our own tools from the original .y/.l files.
This commit is contained in:
simonb 1999-01-18 04:12:15 +00:00
parent 3478ed1de4
commit 67be258b1b
4 changed files with 2 additions and 3464 deletions

1808
gnu/dist/bc/bc/bc.c vendored

File diff suppressed because it is too large Load Diff

42
gnu/dist/bc/bc/bc.h vendored
View File

@ -1,42 +0,0 @@
typedef union {
char *s_value;
char c_value;
int i_value;
arg_list *a_value;
} YYSTYPE;
#define NEWLINE 258
#define AND 259
#define OR 260
#define NOT 261
#define STRING 262
#define NAME 263
#define NUMBER 264
#define ASSIGN_OP 265
#define REL_OP 266
#define INCR_DECR 267
#define Define 268
#define Break 269
#define Quit 270
#define Length 271
#define Return 272
#define For 273
#define If 274
#define While 275
#define Sqrt 276
#define Else 277
#define Scale 278
#define Ibase 279
#define Obase 280
#define Auto 281
#define Read 282
#define Warranty 283
#define Halt 284
#define Last 285
#define Continue 286
#define Print 287
#define Limits 288
#define UNARY_MINUS 289
#define History 290
extern YYSTYPE yylval;

1612
gnu/dist/bc/bc/scan.c vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.19 1999/01/16 05:57:47 simonb Exp $
# $NetBSD: Makefile,v 1.20 1999/01/18 04:12:15 simonb Exp $
TOP= ${.CURDIR}/../..
dist= ${TOP}/dist
srcdir= ${dist}/bc
PROG= bc
CPPFLAGS+=-D_POSIX_SOURCE -I${.CURDIR} -I${srcdir}/bc -I${srcdir}/h
CPPFLAGS+=-D_POSIX_SOURCE -I. -I${.CURDIR} -I${srcdir}/bc -I${srcdir}/h
LFLAGS+=-I8
SRCS= bc.y execute.c getopt.c getopt1.c global.c load.c main.c number.c \
scan.l storage.c util.c