109
|
1 |
|
|
2 |
|
|
3 |
|
|
4 |
TYPE
|
|
5 |
enum_type00 : (enum_v1, XXXX, enum_v2) := XXXX;
|
|
6 |
END_TYPE
|
|
7 |
|
|
8 |
TYPE
|
|
9 |
enum_type01 : (XXXX, enum_v2) := XXXX;
|
|
10 |
END_TYPE
|
|
11 |
|
|
12 |
TYPE
|
|
13 |
enum_type02 : (enum_v1, XXXX) := XXXX;
|
|
14 |
END_TYPE
|
|
15 |
|
|
16 |
TYPE
|
|
17 |
enum_type03 : (XXXX) := XXXX;
|
|
18 |
END_TYPE
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
function foo : int
|
|
24 |
var_input
|
|
25 |
a_1, b_1: int;
|
|
26 |
end_var
|
|
27 |
var
|
|
28 |
c_1, d_1: enum_type00;
|
|
29 |
(*
|
|
30 |
enum_v1 : enum_type00;
|
|
31 |
*)
|
|
32 |
end_var
|
|
33 |
c_1 := enum_type00#XXXX;
|
|
34 |
c_1 := XXXX;
|
|
35 |
c_1 := enum_v1;
|
|
36 |
(*
|
|
37 |
enum_v1 := enum_v1;
|
|
38 |
*)
|
|
39 |
end_function
|
|
40 |
|
|
41 |
|