Marc-Andre Lafortune
245ed57ddc
[ruby/racc] Turn debugging off
...
https://github.com/ruby/racc/commit/872f75cfa7
2020-09-28 18:08:51 +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
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
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
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
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
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
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
tenderlove
b73d1fbd25
* lib/racc/parser.rb (do_parse, yyparse): using class eval to define
...
method and avoid __send__.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15 02:47:05 +00:00
marcandre
f3e3547407
* lib/*.rb: Remove unused variable warnings.
...
Patch by Run Paint [ruby-core:30991]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-08 20:59:01 +00:00
nobu
dd7490d50d
* lib: updated keywords.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-25 23:45:52 +00:00
nobu
287a34ae0d
* {ext,lib,test}/**/*.rb: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 03:56:38 +00:00
matz
85bae86cb6
* lib/optparse/version.rb: remove variable shadowing to stop
...
warning. [ruby-core:20612]
* lib/irb/completion.rb, lib/net/imap.rb, lib/prime.rb,
lib/rinda/ring.rb, lib/racc/parser.rb,
lib/shell/command-processor.rb, lib/yaml/yamlnode.rb: ditto.
* lib/racc/parser.rb: remove space before parentheses.
* lib/shell/command-processor.rb, lib/shell/process-controller.rb:
use parentheses around arguments.
* lib/irb/ext/change-ws.rb, lib/rexml/validation/relaxng.rb,
lib/yaml/baseemitter.rb: indentation fix.
* lib/matrix.rb: small cosmetic change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-18 07:54:50 +00:00
aamine
69aeed5065
* ext/racc/cparse/cparse.c: sync with original code, rev 1.8.
...
* ext/racc/cparse/cparse.c: should mark CparseParams objects.
* lib/racc/parser.rb: sync with original code, rev 1.8.
* lib/racc/parser.rb: update coding style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-06 12:50:51 +00:00
nobu
92f0be2037
* dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,
...
lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb,
lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb,
lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb,
lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb,
lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb,
lib/rinda/tuplespace.rb, lib/shell/command-processor.rb,
lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb,
lib/test/unit/testsuite.rb: typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-18 23:19:47 +00:00
aamine
3bc0f22fce
* lib/racc/parser.rb: add note for Racc full package.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 06:19:54 +00:00
aamine
7bf9e6d2a1
* lib/racc/parser.rb: synchronize with Racc 1.4.4.
...
* ext/racc/cparse/cparse.c: ditto.
* ext/racc/cparse/cparse.c (parse_main): should abort when the length of LR state stack <=1, not ==0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-03 13:55:01 +00:00
matz
e5282ef182
update NotImplementError to NotImplementedError.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-23 17:58:57 +00:00
nobu
29cef5f795
use Object#class instead of deprecated Object#type.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-02 16:45:35 +00:00
aamine
890521d117
racc runtime imported.
...
* lib/racc/parser.rb: new file.
* ext/racc/MANIFEST, cparse.c, depend, extconf.rb: new files.
* lib/README: add racc/parser.rb.
* ext/Setup*: add racc/cparse.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-22 07:20:31 +00:00