1 require File.expand_path(File.join(__dir__, 'case'))
4 class TestGrammarFileParser < TestCase
6 file = File.join(ASSET_DIR, 'yyerr.y')
8 debug_flags = Racc::DebugFlags.parse_option_string('o')
9 assert debug_flags.status_logging
11 parser = Racc::GrammarFileParser.new(debug_flags)
12 parser.parse(File.read(file), File.basename(file))