lib/rbs/parser.y in rbs-0.6.0 vs lib/rbs/parser.y in rbs-0.7.0
- old
+ new
@@ -518,10 +518,10 @@
location: val[0].location + val[1].location)
}
method_name:
tOPERATOR
- | kAMP | kHAT | kSTAR | kLT | kEXCLAMATION | kSTAR2 | kBAR | kOUT | kIN
+ | kAMP | kHAT | kSTAR | kLT | kEXCLAMATION | kSTAR2 | kBAR
| method_name0
| method_name0 kQUESTION {
unless val[0].location.pred?(val[1].location)
raise SyntaxError.new(token_str: "kQUESTION", error_value: val[1])
end