Allow here-doc before closing parentheses; ref
MODIFY
mrbgems/mruby-compiler/core/parse.y
mrbgems/mruby-compiler/core/parse.y
@@ -3722,7 +3722,7 @@ opt_nl : /* none */
| nl
;
-rparen : opt_nl ')'
+rparen : opt_terms ')'
;
trailer : /* none */

Allow here-doc before closing parentheses; ref #4796