/*
 * |-----------------------------------------------------------|
 * | Copyright (c) 1991, 1990 MIPS Computer Systems, Inc.      |
 * | All Rights Reserved                                       |
 * |-----------------------------------------------------------|
 * |          Restricted Rights Legend                         |
 * | Use, duplication, or disclosure by the Government is      |
 * | subject to restrictions as set forth in                   |
 * | subparagraph (c)(1)(ii) of the Rights in Technical        |
 * | Data and Computer Software Clause of DFARS 252.227-7013.  |
 * |         MIPS Computer Systems, Inc.                       |
 * |         950 DeGuigne Avenue                               |
 * |         Sunnyvale, California 94088-3650, USA             |
 * |-----------------------------------------------------------|
 */
#ident	"$Header: charmap.c,v 1.5.2.1 92/06/24 13:38:22 marker Exp $"


#include "lex.h"
#include "tokens.h"

/* character map */
int cmap[128] = {

/* 	nul	soh	stx	etx	eot	enq	ack	bel 	*/
	ERROR,	ERROR,	ERROR,	ERROR,	ERROR,	ERROR,	ERROR,	ERROR,
/* 	bs	ht	nl	vt	np	cr	so	si  	*/
	ERROR,	IGNORE,	NL,	IGNORE,	ERROR,	IGNORE,	ERROR,	ERROR,
/* 	dle	dc1	dc2	dc3	dc4	nak	syn	etb	*/
	ERROR,	ERROR,	ERROR,	ERROR,	ERROR,	ERROR,	ERROR,	ERROR,
/* 	can	em	sub	esc	FS	GS	RS	US	*/
	ERROR,	ERROR,	ERROR,	ERROR,	ERROR,	ERROR,	ERROR,	ERROR,
/* 	SP	!	"	#	$	%	&	'	*/
	IGNORE,	ERROR,	ERROR,	CPP,	ERROR,	ERROR,	ERROR,	ERROR,	
/* 	(	)	*	+	,	-	.	/	*/
	SP|LP,	SP|RP,	BC2,	ERROR,	SP|CM,	ERROR,	ERROR,	BC,
/*	0	1	2	3	4	5	6	7	*/
	ALPH,	ALPH,	ALPH,	ALPH,	ALPH,	ALPH,	ALPH,	ALPH,
/*	8	9	:	;	<	=	>	?	*/
	ALPH,	ALPH,	ERROR,	SP|SM,	ERROR,	ERROR,	ERROR,	ERROR,
/*	@	A	B	C	D	E	F	G	*/
	ERROR,	ALPH,	ALPH,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