Граф коммитов

62 Коммитов

Автор SHA1 Сообщение Дата
Hiroshi SHIBATA 0b19f33480 [ruby/racc] Bump version to 1.5.1
https://github.com/ruby/racc/commit/2cb3055a73
2020-11-10 21:35:04 +09:00
Hiroshi SHIBATA 5a19b492da [ruby/racc] Use the Ruby license. Fix #134
https://github.com/ruby/racc/commit/7c881cd548
2020-11-10 21:20:31 +09:00
Yusuke Endoh 2fed5f0ad8 lib/racc/statetransitiontable.rb: Make the racc output stable
Racc calls `Array#sort!` to build a state transition table. As
`Array#sort!` is not a stable sort, the output may differ depending upon
the environment.

This changeset makes the sort stable manually, and updates all
expectation files.
2020-11-10 07:49:19 +09:00
Hiroshi SHIBATA ba1472f43a
Removed needless require for 'enumerator' 2020-11-09 14:18:38 +09:00
Nobuyoshi Nakada 3198e7abd7
Separate `send` into `public_send` and `__send__` 2020-10-27 16:12:45 +09:00
Marc-Andre Lafortune 245ed57ddc
[ruby/racc] Turn debugging off
https://github.com/ruby/racc/commit/872f75cfa7
2020-09-28 18:08:51 +09:00
Marc-Andre Lafortune 97d1a381e1
[Fixes #137] Improve reporting 2020-09-28 18:07:24 +09:00
Hiroshi SHIBATA 5b04e2362c
[ruby/racc] Fixed the licenses field of gemspec
https://github.com/ruby/racc/commit/a1aeecff03
2020-08-19 19:35:04 +09:00
Nobuyoshi Nakada 9a78e24f7d
Removed nonsense `rubygems_version` in input gemspec files
As it is ignored and set at building packages automatically, it is
just nonsense to set in gemspec file for input.
2020-06-25 15:44:56 +09:00
Nobuyoshi Nakada aca935a670
Fixed typos in racc 2020-04-27 15:28:06 +09:00
Hiroshi SHIBATA 48a5c155fa
Import racc-1.5.0 from upstream repository. 2020-03-25 21:39:03 +09:00
Hiroshi SHIBATA 229ba1215f
Merge racc from upstream repository.
* Support Ruby 2.4's frozen string literals.
  * Remove VCS revisions headers.
2020-02-27 13:33:51 +09:00
Nobuyoshi Nakada fb41246ddb
Stop parsing copyright notices as document [ci skip] 2020-01-28 23:00:13 +09:00
Nobuyoshi Nakada 17715153e5
Revert "Added RDoc files to parse [Bug #16596]"
This reverts commit 10842daeb5,
because it has no effect and the rdoc file has been installed to
lib/racc/rdoc directory.
2020-01-28 22:28:45 +09:00
Nobuyoshi Nakada 10842daeb5
Added RDoc files to parse [Bug #16596] 2020-01-28 10:04:25 +09:00
Hiroshi SHIBATA 69731b248f
Fixup a6864f6d2f 2020-01-01 07:53:27 +09:00
Nobuyoshi Nakada e68999c82c
Fixed misspellings
Fixed misspellings reported at [Bug #16437], for default gems.
2019-12-20 12:19:45 +09:00
Hiroshi SHIBATA e27d2013db
Import racc-1.4.1 from ruby/racc. 2019-12-10 17:04:03 +09:00
Kazuhiro NISHIYAMA 449b2b9214
Fix typos 2019-11-17 13:11:25 +09:00
Nobuyoshi Nakada cbbdb4e5a2
[ruby/racc] Strip trailing whitespaces at the last line of actions
https://github.com/ruby/racc/commit/a887ebe529
2019-11-04 09:28:01 +09:00
Hiroshi SHIBATA 6c3ed0d71c
Update the latest versions from upstream repository of racc 2019-10-30 21:36:59 +09:00
Seiei Miyagi 5ca5529d22 Fix warning of generated parser for nested module 2019-10-17 19:23:50 -07:00
Nobuyoshi Nakada 3bb1162cac
Folded files in gemspec 2019-09-16 21:51:48 +09:00
Nobuyoshi Nakada 331eccf3fe
Removed useless `freeze`s from gemspec files 2019-07-13 07:25:54 +09:00
Nobuyoshi Nakada fd9f26df00
Drop fossil rubygems support 2019-07-13 07:25:54 +09:00
Nobuyoshi Nakada 143581cf4e
Removed stub lines from gemspec files 2019-07-13 07:25:51 +09:00
Hiroshi SHIBATA 93356576fe Revert "Removed needless file with the upstream repository."
This reverts commit 5bbfca7b1d.
2019-06-20 22:27:06 +09:00
Hiroshi SHIBATA 5bbfca7b1d Removed needless file with the upstream repository. 2019-06-20 16:11:03 +09:00
Hiroshi SHIBATA 45e939f5ad Added gemspec of racc generated from upstream for the default gems.
1.4.16.pre.1 is the teemporary version. It may be changed 1.5.0 or others.
2019-06-20 16:11:03 +09:00
git b93508b32c * remove trailing spaces, append newline at EOF. 2019-06-19 18:19:20 +09:00
Hiroshi SHIBATA 4cca8c4d20 Use Test::Unit instead of Minitest and fixed test error with ruby repo.
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2019-06-19 18:17:53 +09:00
Hiroshi SHIBATA 1a2546c2be Backport racc-1.4.15 from upstream. 2019-06-19 18:17:25 +09:00
stomar e9adca4955 lib/racc/parser.rb: use require for racc/cparse
* lib/racc/parser.rb: reverted r65505.  require_relative does
  not work for racc/cparse.so, as extension libraries are placed
  in other directories than Ruby libraries.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-03 08:43:19 +00:00
marcandre e859e668d2 lib/*: Prefer require_relative over require.
[#15206] [Fix GH-1976]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-02 17:52:33 +00:00
hsbt 6693e3e723 Fixed misspelling words.
These are detected by https://github.com/client9/misspell

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-22 11:27:06 +00:00
a_matsuda d0a6339903 Fix grammar errors
Patch by: Chris Tweedie <cltweedie@gmail.com> (@cltweedie)
Signed-off-by: Akira Matsuda <ronnie@dio.jp>

closes #1074

[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-08 19:55:59 +00:00
naruse 3e92b635fb Add frozen_string_literal: false for all files
When you change this to true, you may need to add more tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:07:31 +00:00
nobu 05bf12f7df Grammatical fixes [ci skip]
* lib/racc/rdoc/grammar.en.rdoc: Grammatical errors fixed.
  [Fix GH-1070]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-26 13:23:32 +00:00
hsbt c4ccdd6471 * lib/racc/rdoc/grammar.en.rdoc: fix spell error.
[fix GH-1053][ci skip] Patch by @Matrixbirds

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-14 04:37:31 +00:00
nobu 07dafa350f Fix typo in racc english documentation [ci skip]
* lib/racc/rdoc/grammar.en.rdoc: [DOC] fix typo, "convertion" to
  "conversion".  [Fix GH-1016]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-14 02:12:12 +00:00
hsbt 448c87008e * lib/cgi/core.rb: remove unused variables.
* lib/erb.rb: ditto.
* lib/mkmf.rb: ditto.
* lib/net/http/response.rb: ditto.
* lib/optparse/version.rb: ditto.
* lib/prime.rb: ditto.
* lib/racc/parser.rb: ditto.
* lib/rexml/document.rb: ditto.
* lib/rexml/dtd/dtd.rb: ditto.
* lib/rexml/element.rb: ditto.
* lib/rexml/functions.rb: ditto.
* lib/rexml/parsers/xpathparser.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-27 11:04:28 +00:00
zzak 308072092a * lib/racc/rdoc/grammar.en.rdoc: [DOC] Correct grammar and typos
Patch by Giorgos Tsiftsis [Bug #9429] [ci skip]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-24 06:15:15 +00:00
a_matsuda 19c9a70a07 * lib/racc/parser.rb: Fix typo
s/Extentions/Extensions/

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-29 01:57:04 +00:00
zzak e44d4124be * lib/racc/rdoc/grammar.en.rdoc: [DOC] fix typo by Tsuyoshi Sawada
[Bug #9077]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09 15:34:25 +00:00
zzak 736a429d6d * lib/racc/parser.rb: [DOC] Capitalize "Ruby" in documentation
Patch by Dave Worth https://github.com/ruby/ruby/pull/341


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-19 02:28:16 +00:00
ktsj edb98f8b91 fix typos. Patch by k_takata.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 03:10:21 +00:00
zzak dfb30ef535 * lib/racc/parser.rb: Hide copyright notice from Racc doc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 20:58:01 +00:00
zzak c50b328829 * lib/racc/parser.rb: Update #do_parse and #yyparse from upstream
See [Github tenderlove/racc@7d954b5]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 01:01:14 +00:00
zzak 941ea3713f * lib/racc: Merge Racc documentation downstream, add grammar ref file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 00:56:11 +00:00
kazu c686986220 NotImplementError is not exist.
* lib/racc/parser.rb: NotImplementError is not exist.
* lib/irb/output-method.rb (IRB::OutputMethod#print): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-27 14:18:26 +00:00