blob: 76255b55734718a9caef0651d5303820815f4295 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Lexer common. This is necessary since the parser, generated by xyacc,
# does not allow any access to the lexer to initialize it, or to get
# variable values.
# Variables to initialize lexer
int nlines # line counter
int pos # character position in line
char line[SZ_LINE] # last line from file
# Variables returned by lexer
char id[SZ_LINE] # last identifier from lexer
common /lexcom/ nlines, pos, line, id
|