Sha256: 25f45471e110b2d6bdd638b52919fab63239328b7d2e6916459a6f49ea1bf077

Contents?: true

Size: 423 Bytes

Versions: 35

Compression:

Stored size: 423 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))

module Racc
  class TestGrammarFileParser < TestCase
    def test_parse
      file = File.join(ASSET_DIR, 'yyerr.y')

      debug_flags = Racc::DebugFlags.parse_option_string('o')
      assert debug_flags.status_logging

      parser = Racc::GrammarFileParser.new(debug_flags)
      parser.parse(File.read(file), File.basename(file))
    end
  end
end

Version data entries

35 entries across 30 versions & 5 rubygems

Version Path
racc-1.4.15 test/test_grammar_file_parser.rb
racc-1.4.14-java test/test_grammar_file_parser.rb
racc-1.4.14 test/test_grammar_file_parser.rb
racc-1.4.13-java test/test_grammar_file_parser.rb
racc-1.4.13 test/test_grammar_file_parser.rb
racc-1.4.12-java test/test_grammar_file_parser.rb
racc-1.4.12 test/test_grammar_file_parser.rb
racc-1.4.11 test/test_grammar_file_parser.rb
gd-racc-1.4.11 test/test_grammar_file_parser.rb
racc-1.4.10 test/test_grammar_file_parser.rb
racc-1.4.9-java test/test_grammar_file_parser.rb
racc-1.4.9 test/test_grammar_file_parser.rb
racc-1.4.8 test/test_grammar_file_parser.rb
racc-1.4.7 test/test_grammar_file_parser.rb
racc-1.4.6 test/test_grammar_file_parser.rb