DataMuseum.dk

Presents historical artifacts from the history of:

Commodore CBM-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Commodore CBM-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦86d843022⟧ TextFile

    Length: 969 (0x3c9)
    Types: TextFile
    Notes: UNIX file
    Names: »lex0.c«

Derivation

└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦f4b8d8c84⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »cmd/lex/lex0.c« 

TextFile

#include "lex.h"

/*
 * lex0.c
 * external variables
 */
int	nxt;
int	yylval;
int	ltype;
int	inquotes;
int	indefs;
int	actn;
int	clas;
int	nfa[ARRSZ][2];
struct	def *defstart;
struct	def *ctxstart;
struct	def *scnstart;
unsigned char *classptr;
FILE	*filein = stdin;
FILE	*fileout = stdout;

char	opnerr[] = "cannot open %s";
char	outmem[] = "out of memory";
char	noactn[] = "missing action";
char	illchr[] = "illegal character";
char	illnln[] = "illegal newline";
char	illrng[] = "improper range";
char	illoct[] = "illegal octal escape";
char	unddef[] = "undefined reference";
char	undctx[] = "undefined context";
char	undstc[] = "undefined start condition";
char	illstc[] = "start condition spec in rules section";
char	regsyn[] = "regular expression syntax";
char	rulsyn[] = "rule syntax";
char	actsyn[] = "action syntax";
char	unmopr[] = "unmatched `%c' in regular expression";
char	reperr[] = "improper repetition specification";
char	eoferr[] = "unexpected EOF";