mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 09:56:14 -05:00
9 lines
332 B
Plaintext
9 lines
332 B
Plaintext
|
start <- abcd+
|
||
|
|
||
|
abcd <- 'a' { printf("A %d\n", yypos); } bc { printf("ABC %d\n", yypos); } &{YYACCEPT}
|
||
|
/ 'b' { printf("B %d\n", yypos); } cd { printf("BCD %d\n", yypos); } &{YYACCEPT}
|
||
|
|
||
|
bc <- 'b' { printf("B %d\n", yypos); } 'c' { printf("C %d\n", yypos); }
|
||
|
|
||
|
cd <- 'c' { printf("C %d\n", yypos); } 'd' { printf("D %d\n", yypos); }
|