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/ifelse.y

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
246 B
Text
Raw Normal View History

2020-08-13 21:50:16 -04:00
class C::Parser
token tSOMETHING
rule
statement
: tSOMETHING
| 'if' statement 'then' statement
| 'if' statement 'then' statement 'else' statement
;
dummy
: tSOMETHING '+' tSOMETHING
| tSOMETHING '-' tSOMETHING
;