blob: bb87d142679e09631c28cc9f894a5fcd54623ca6 (
plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
/* $OpenBSD: xebec.h,v 1.2 1996/03/04 10:37:31 mickey Exp $ */
/* $NetBSD: xebec.h,v 1.4 1994/06/29 06:41:25 cgd Exp $ */
union llattrib {
struct {
char *address; } ID;
int STRUCT;
int SYNONYM;
struct {
char *address; } PREDICATE;
struct {
char *address; } ACTION;
int PROTOCOL;
int LBRACK;
int RBRACK;
int LANGLE;
int EQUAL;
int COMMA;
int STAR;
int EVENTS;
int TRANSITIONS;
int INCLUDE;
int STATES;
int SEMI;
struct {
char *address; } PCB;
int DEFAULT;
int NULLACTION;
int SAME;
struct {
char *address; int isevent; } pcb;
struct {
int type; } syn;
struct {
struct Object *setnum; } setlist;
struct {
struct Object *setnum; } setlisttail;
struct {
unsigned char type; } part;
struct {
unsigned char type; } parttail;
struct {
unsigned char type; char *address; } partrest;
struct {
struct Object *object; } setstruct;
struct {
unsigned char type,keep; char *address; struct Object *object; } setdef;
int translist;
int transition;
struct {
struct Object *object; } event;
struct {
struct Object *object; } oldstate;
struct {
struct Object *object; } newstate;
struct {
char *string; } predicatepart;
struct {
char *string; struct Object *oldstate; struct Object *newstate; } actionpart;
};
#define LLTERM 23
#define LLSYM 44
#define LLPROD 38
#define LLINF 10000
#define T_ID 1
#define T_STRUCT 2
#define T_SYNONYM 3
#define T_PREDICATE 4
#define T_ACTION 5
#define T_PROTOCOL 6
#define T_LBRACK 7
#define T_RBRACK 8
#define T_LANGLE 9
#define T_EQUAL 10
#define T_COMMA 11
#define T_STAR 12
#define T_EVENTS 13
#define T_TRANSITIONS 14
#define T_INCLUDE 15
#define T_STATES 16
#define T_SEMI 17
#define T_PCB 18
#define T_DEFAULT 19
#define T_NULLACTION 20
#define T_SAME 21
#define T_ENDMARKER 22
|