summaryrefslogtreecommitdiff
path: root/fpcsrc/utils/sim_pasc/lex.c
blob: b221d176401f48da84d1879f5fe4667958e4e187 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*	This file is part of the software similarity tester SIM.
	Written by Dick Grune, Vrije Universiteit, Amsterdam.
	$Id: lex.c,v 1.3 1998/02/03 14:28:26 dick Exp $
*/

/*	The communication variables, as set by yylex, NextStreamTokenObtained
	and NextTextTokenObtained.
*/

#include	"token.h"
#include	"lex.h"

TOKEN lex_token;			/* token produced, or EOL */
unsigned int lex_nl_cnt;		/* line count */
unsigned int lex_tk_cnt;		/* token position */
unsigned int lex_non_ascii_cnt;		/* # of non-ASCII chars found */