mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Import racc-1.4.1 from ruby/racc.
This commit is contained in:
parent
43544f8617
commit
e27d2013db
6 changed files with 28 additions and 26 deletions
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# $Id: 0e355164c34f7baf8a813f76a138b8924ec3269a $
|
||||
# $Id: 63bd084db2dce8a2c9760318faae6104717cead7 $
|
||||
#
|
||||
# Copyright (c) 1999-2006 Minero Aoki
|
||||
#
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
# see the file "COPYING".
|
||||
|
||||
module Racc
|
||||
VERSION = '1.4.16.pre.1'
|
||||
VERSION = '1.4.16'
|
||||
Version = VERSION
|
||||
Copyright = 'Copyright (c) 1999-2006 Minero Aoki'
|
||||
end
|
||||
|
|
|
@ -188,10 +188,10 @@ module Racc
|
|||
class Parser
|
||||
|
||||
Racc_Runtime_Version = ::Racc::VERSION
|
||||
Racc_Runtime_Revision = '$Id: 87af5c09d4467cae567837b4162ec2145417a90e $'
|
||||
Racc_Runtime_Revision = '$Id: 7adc21ee7a5690f10b7ff399b8af4e2717b9d94c $'
|
||||
|
||||
Racc_Runtime_Core_Version_R = ::Racc::VERSION
|
||||
Racc_Runtime_Core_Revision_R = '$Id: 87af5c09d4467cae567837b4162ec2145417a90e $'.split[1]
|
||||
Racc_Runtime_Core_Revision_R = '$Id: 7adc21ee7a5690f10b7ff399b8af4e2717b9d94c $'.split[1]
|
||||
begin
|
||||
if Object.const_defined?(:RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
|
||||
require 'racc/cparse-jruby.jar'
|
||||
|
|
|
@ -186,10 +186,10 @@ module Racc
|
|||
class Parser
|
||||
|
||||
Racc_Runtime_Version = ::Racc::VERSION
|
||||
Racc_Runtime_Revision = '$Id: 87af5c09d4467cae567837b4162ec2145417a90e $'
|
||||
Racc_Runtime_Revision = '$Id: e754525bd317344c4284fca6fdce0a425979ade1 $'
|
||||
|
||||
Racc_Runtime_Core_Version_R = ::Racc::VERSION
|
||||
Racc_Runtime_Core_Revision_R = '$Id: 87af5c09d4467cae567837b4162ec2145417a90e $'.split[1]
|
||||
Racc_Runtime_Core_Revision_R = '$Id: e754525bd317344c4284fca6fdce0a425979ade1 $'.split[1]
|
||||
begin
|
||||
if Object.const_defined?(:RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
|
||||
require 'racc/cparse-jruby.jar'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# $Id: 67117a7ef68abc59a11abce2b42084f65cddb2ca $
|
||||
# $Id: fff07ebfd582f8dbc845e424908cb9f41f8bf42f $
|
||||
#
|
||||
# Copyright (c) 1999-2006 Minero Aoki
|
||||
#
|
||||
|
|
|
@ -2,12 +2,8 @@
|
|||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "racc"
|
||||
s.version = "1.4.16.pre.1"
|
||||
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||
s.require_paths = ["lib"]
|
||||
s.authors = ["Aaron Patterson"]
|
||||
s.date = "2019-06-20"
|
||||
s.version = "1.4.16"
|
||||
s.summary = "Racc is a LALR(1) parser generator"
|
||||
s.description = <<DESC
|
||||
Racc is a LALR(1) parser generator.
|
||||
It is written in Ruby itself, and generates Ruby program.
|
||||
|
@ -16,16 +12,11 @@ Racc is a LALR(1) parser generator.
|
|||
can run your parsers generated by racc 1.4.x out of the
|
||||
box.
|
||||
DESC
|
||||
s.email = ["aaron@tenderlovemaking.com"]
|
||||
s.authors = ["Minero Aoki", "Aaron Patterson"]
|
||||
s.email = [nil, "aaron@tenderlovemaking.com"]
|
||||
s.homepage = "http://i.loveruby.net/en/projects/racc/"
|
||||
s.licenses = ["MIT"]
|
||||
s.executables = ["racc", "racc2y", "y2racc"]
|
||||
s.extensions = ["ext/racc/extconf.rb"]
|
||||
s.extra_rdoc_files = [
|
||||
"Manifest.txt", "README.ja.rdoc", "README.rdoc",
|
||||
"rdoc/en/NEWS.en.rdoc", "rdoc/en/grammar.en.rdoc",
|
||||
"rdoc/ja/NEWS.ja.rdoc", "rdoc/ja/debug.ja.rdoc",
|
||||
"rdoc/ja/grammar.ja.rdoc", "rdoc/ja/parser.ja.rdoc",
|
||||
"README.ja.rdoc", "README.rdoc"
|
||||
]
|
||||
s.files = [
|
||||
"COPYING", "ChangeLog", "DEPENDS", "Manifest.txt",
|
||||
"README.ja.rdoc", "README.rdoc", "Rakefile", "TODO", "bin/racc",
|
||||
|
@ -90,11 +81,22 @@ DESC
|
|||
"test/test_racc_command.rb", "test/test_scan_y.rb",
|
||||
"test/testscanner.rb", "web/racc.en.rhtml", "web/racc.ja.rhtml"
|
||||
]
|
||||
s.homepage = "http://i.loveruby.net/en/projects/racc/"
|
||||
s.licenses = ["MIT"]
|
||||
s.rdoc_options = ["--main", "README.rdoc"]
|
||||
s.require_paths = ["lib"]
|
||||
s.rubygems_version = "3.1.0.pre1"
|
||||
s.summary = "Racc is a LALR(1) parser generator"
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||
s.extensions = ["ext/racc/extconf.rb"]
|
||||
s.rdoc_options = ["--main", "README.rdoc"]
|
||||
s.extra_rdoc_files = [
|
||||
"Manifest.txt", "README.ja.rdoc", "README.rdoc",
|
||||
"rdoc/en/NEWS.en.rdoc", "rdoc/en/grammar.en.rdoc",
|
||||
"rdoc/ja/NEWS.ja.rdoc", "rdoc/ja/debug.ja.rdoc",
|
||||
"rdoc/ja/grammar.ja.rdoc", "rdoc/ja/parser.ja.rdoc",
|
||||
"README.ja.rdoc", "README.rdoc"
|
||||
]
|
||||
|
||||
if RUBY_PLATFORM =~ /java/
|
||||
s.files << 'lib/racc/cparse-jruby.jar'
|
||||
end
|
||||
|
||||
s.add_development_dependency("rake-compiler", [">= 0.4.1"])
|
||||
s.add_development_dependency("minitest", ["~> 4.7"])
|
||||
|
|
Loading…
Reference in a new issue