1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Import racc-1.5.0 from upstream repository.

This commit is contained in:
Hiroshi SHIBATA 2020-03-25 21:39:03 +09:00
parent edffe78a79
commit 48a5c155fa
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
4 changed files with 5 additions and 8 deletions

View file

@ -11,7 +11,7 @@
#++
module Racc
VERSION = '1.4.16'
VERSION = '1.5.0'
Version = VERSION
Copyright = 'Copyright (c) 1999-2006 Minero Aoki'
end

View file

@ -192,6 +192,7 @@ module Racc
begin
if Object.const_defined?(:RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
require 'jruby'
require 'racc/cparse-jruby.jar'
com.headius.racc.Cparse.new.load(JRuby.runtime, false)
else

View file

@ -190,6 +190,7 @@ module Racc
begin
if Object.const_defined?(:RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
require 'jruby'
require 'racc/cparse-jruby.jar'
com.headius.racc.Cparse.new.load(JRuby.runtime, false)
else

View file

@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = "racc"
s.version = "1.4.16"
s.version = "1.5.0"
s.summary = "Racc is a LALR(1) parser generator"
s.description = <<DESC
Racc is a LALR(1) parser generator.
@ -18,7 +18,7 @@ DESC
s.licenses = ["MIT"]
s.executables = ["racc"]
s.files = [
"COPYING", "ChangeLog", "DEPENDS",
"COPYING", "ChangeLog",
"README.ja.rdoc", "README.rdoc", "Rakefile", "TODO", "bin/racc",
"ext/racc/MANIFEST",
"ext/racc/com/headius/racc/Cparse.java", "ext/racc/cparse/cparse.c",
@ -99,9 +99,4 @@ DESC
else
s.extensions = ["ext/racc/cparse/extconf.rb"]
end
s.add_development_dependency("rake-compiler", [">= 0.4.1"])
s.add_development_dependency("minitest", ["~> 4.7"])
s.add_development_dependency("rdoc", [">= 4.0", "< 7"])
s.add_development_dependency("hoe", ["~> 3.18"])
end