blob: 719eeead1f8d5f3624448e7822c02c0f2612a8a5 (
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
|
/*
* @LANG: c
* @ENABLED: false
*
* Provides definitions for include tests.
*/
%%{
machine include_test_1;
action A {printf(" a1");}
action B {printf(" b1");}
action NonRef1 {printf(" nr1");}
a1 = 'a' @A;
b1 = 'b' @B;
}%%
%%{
machine include_test_2;
action NonRef2 {printf(" nr2");}
a2 = 'a' @{printf(" a2");};
b2 = 'b' @{printf(" b2");};
}%%
|