For the universal parser, rb_parser_reg_fragment_check function is
shared between the parser and ripper. However parser_params struct
is partially different, and compile_error function depends on that
part indirectly.
Related issues
Bug #20989: Segmentation fault in Ripper when lexing `/#{"\xcd"}/`
[Bug #20989] Ripper: Pass
compile_error
For the universal parser,
rb_parser_reg_fragment_check
function isshared between the parser and ripper. However
parser_params
structis partially different, and
compile_error
function depends on thatpart indirectly.