1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/racc/assets/conf.y

17 lines
122 B
Text
Raw Normal View History

2019-05-13 08:25:22 -04:00
class A
rule
a: A c C expr;
b: A B; # useless
c: A;
c: A;
expr: expr '+' expr
expr: expr '-' expr
expr: NUMBER
end