-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathLGLexer.h
35 lines (28 loc) · 874 Bytes
/
LGLexer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once
/////////////////////////////////////////////////////////////////////////////////////////////////////
// //
// LGLexer.h
/* Generated by: DFASTAR 6.5.019
Grammar: LG.lgr
Skeleton: LGLexer.h.skl
Output: LGLexer.h
*/
#define ushort unsigned short
#define uchar unsigned char
class LGLexer
{
public:
static Token token;
static int line_numb;
static int col_numb;
static int line_pos;
static char* line_start;
static int max_char_set;
static int tab;
static int get_token ();
static int get_lookahead ();
static void init_lexer ();
static void term_lexer ();
static void prt_line ();
static char* token_name[1];
};