File: case2.g

package info (click to toggle)
kdevelop-pg-qt 1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,144 kB
  • ctags: 3,624
  • sloc: cpp: 19,239; lex: 945; ansic: 716; yacc: 615; ruby: 68; sh: 14; lisp: 10; fortran: 6; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 139 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
%token A ("A"), B ("B"), C ("C") ;;
   C
-> r1 ;;
%< r1
%pre A 1
%bin B 1 %left
%> r2 ;;
   C | r1*
-> r3 ;;
   (A | B | C | r2)
-> r4 ;;