ruby/lib
aycabta c72a2fad97 [ruby/irb] Simplify RubyLex.compile_with_errors_suppressed
nobu-san reviewed,

https://github.com/ruby/irb/pull/106#pullrequestreview-423400033
> How about lexer = Ripper::Lexer.new(";\n#{code}", nil, 0)?
> Encoding pragma is effective only at the beginning.
> And the semicolon and newline will be skipped because the position is before
> the initial pos.

I employ the way.

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>

https://github.com/ruby/irb/commit/e593cc65b7
2020-07-22 02:31:46 +09:00
..
benchmark Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
bundler Import remaining changes 2020-07-15 16:05:12 +09:00
cgi Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
csv [ruby/csv] Bump minimum ruby version to 2.5.0 (#159) 2020-07-21 09:17:56 +09:00
delegate [ruby/delegate] Fixed superclass missmatch 2020-06-11 12:24:57 +09:00
did_you_mean Remove experimental feaures and related code completely 2020-06-06 14:13:19 -04:00
drb Avoid deprecated OpenSSL::Digest constants 2020-06-29 13:25:32 +09:00
forwardable [ruby/forwardable] Bump version to 1.3.1 2019-12-11 20:23:53 +09:00
getoptlong Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
irb [ruby/irb] Simplify RubyLex.compile_with_errors_suppressed 2020-07-22 02:31:46 +09:00
logger Suppress security alerts 2020-02-28 21:05:08 -08:00
matrix [ruby/matrix] Drop to Ruby 2.4 and 2.5 2020-06-11 13:48:17 +09:00
net Drop to Ruby 2.4 2020-06-11 13:06:59 +09:00
observer Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
open3 Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
optparse Allow --enable/--disable options to take an argument 2019-05-15 17:31:11 +09:00
ostruct [ruby/ostruct] Bump version 2019-12-22 21:48:54 -05:00
pstore Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
racc Removed nonsense `rubygems_version` in input gemspec files 2020-06-25 15:44:56 +09:00
rdoc Removed nonsense `rubygems_version` in input gemspec files 2020-06-25 15:44:56 +09:00
reline [ruby/reline] Remove unnecessary TODO commnet 2020-05-17 19:26:53 +09:00
rinda lib/*: Prefer require_relative over require. 2018-11-02 17:52:33 +00:00
rubygems Remove unnecessary explicit `rake` activation 2020-06-17 21:16:56 +09:00
singleton Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
timeout Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
tracer [ruby/tracer] Use Gemfile instead of Gem::Specification#add_development_dependency. 2019-10-25 09:29:10 +09:00
unicode_normalize update to Unicode Version 12.1.0 (beta) 2019-04-05 00:58:51 +00:00
uri [DOC] Use https:// instead of http:// [ci skip] 2020-07-13 11:33:40 +09:00
weakref [ruby/weakref] Update TODO on README 2020-04-08 18:33:00 +09:00
webrick Avoid deprecated OpenSSL::Digest constants 2020-06-29 13:25:32 +09:00
yaml Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
.document Bundler is not documented in RDoc, but something different 2020-04-07 13:01:19 +09:00
English.gemspec Update the version of published gemspec. 2020-04-08 14:21:14 +09:00
English.rb Fixed class, module and method references [ci skip] 2019-08-16 00:00:50 +09:00
abbrev.rb
base64.rb base64.rb: improve performance of Base64.urlsafe_encode64 2019-12-10 14:32:35 +09:00
benchmark.rb Work on Benchmark::Tms documentation [ci skip] 2018-09-15 12:45:46 +00:00
bundler.rb Update the bundler version with master branch 2020-05-13 07:54:37 +09:00
cgi.rb change call CGI methods from :: to . 2019-08-04 09:19:30 +09:00
csv.rb [ruby/csv] Move doc/* to doc/csv/* to work in ruby/ruby too 2020-07-21 09:17:54 +09:00
debug.rb debug.rb: expand filenames in breakpoints 2019-12-05 13:28:34 +09:00
delegate.rb Add instance_methods to class generated by DelegateClass 2020-07-09 15:01:10 -07:00
did_you_mean.rb Sync did_you_mean 2020-06-06 13:02:08 -04:00
drb.rb
erb.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
fileutils.gemspec Move gemspec of fileutils under the toplevel of lib directory. 2019-11-30 17:32:38 +09:00
fileutils.rb Fix Encoding::CompatibilityError in `FileUtils::Entry_#join` 2020-06-22 18:34:24 +09:00
find.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
forwardable.rb [ruby/forwardable] Make def_*_delegator return name of method defined (Fixes #10) 2019-12-11 20:23:53 +09:00
getoptlong.rb
ipaddr.gemspec Suppress security alerts 2020-02-28 21:05:08 -08:00
ipaddr.rb Import ipaddr 1.2.2 2018-12-18 05:09:08 +00:00
irb.rb [DOC] get rid of parsing as TIDYLINK unintentionally 2020-04-07 13:59:38 +09:00
logger.rb [ruby/logger] Mention `File::Null` in Logger#new document 2020-06-11 14:22:32 +09:00
matrix.rb [ruby/matrix] Add Matrix#adjoint [#14] 2020-05-01 03:25:15 -04:00
mkmf.rb Make the mkmf methods private in the global [Bug #16896] 2020-07-13 18:44:22 +09:00
mutex_m.gemspec
mutex_m.rb lib/mutex_m.rb: fix example code in documentation 2018-10-21 14:02:00 +00:00
observer.rb
open-uri.rb [DOC] get rid of parsing as TIDYLINK unintentionally 2020-04-07 13:59:38 +09:00
open3.rb [open3] only close streams if a block is passed 2020-06-18 10:00:20 -07:00
optionparser.rb
optparse.rb Revert "Method reference operator" 2019-11-12 17:24:48 +09:00
ostruct.rb Fix OpenStructDocumentation 2020-01-05 14:35:14 +09:00
pp.rb Fix pp when passed a empty ruby2_keywords-flagged hash as array element 2020-01-22 10:27:02 -08:00
prettyprint.rb Fix articles. 2020-04-11 02:32:23 +09:00
prime.gemspec Update the latest gemspec of prime. 2020-04-08 14:33:22 +09:00
prime.rb Improve docs for Prime.{prime_division,int_from_prime_division} (#8) 2020-03-06 20:55:22 +09:00
pstore.rb Make rb_scan_args handle keywords more similar to Ruby methods (#2460) 2019-09-25 11:18:49 -07:00
racc.rb Backport racc-1.4.15 from upstream. 2019-06-19 18:17:25 +09:00
rdoc.rb Skip the initialization of XDG_DATA_HOME with Permission denied 2020-04-23 21:11:21 +09:00
readline.gemspec [ruby/readline] Version 0.0.2 2019-12-25 10:57:44 +09:00
readline.rb Suppress duplicated "require 'reline'" 2019-10-23 23:59:53 +09:00
reline.rb Reline callbacks can take nil 2020-05-14 12:27:33 +09:00
resolv-replace.rb
resolv.rb Convert ip addresses to canonical form in Resolv::DNS::Requester::UnconnectedUDP#sender 2020-05-29 15:59:27 -07:00
rubygems.rb Add Gem.disable_system_update_message to disable gem update --system if needed. 2020-06-15 21:20:37 +09:00
securerandom.rb fix visibility of SecureRandom.gen_random 2019-05-14 11:44:20 +09:00
set.rb Make mutating the result of SortedSet#to_a not affect the set 2020-06-11 14:02:00 -07:00
shellwords.rb Fix the ArgumentError message in shellsplit 2020-06-16 23:23:13 +09:00
singleton.rb [ruby/singleton] Remove unnecessaray space 2020-06-09 10:07:10 +09:00
tempfile.gemspec The current tempfile.rb is only works with Ruby 2.5+ 2020-04-08 15:20:44 +09:00
tempfile.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
time.rb [DOC] Mentioned that `Time.parse` method is not validator 2020-06-21 16:16:15 +09:00
timeout.rb Add some documentation to Timeout#timeout about possible issues 2019-06-04 19:19:37 -07:00
tmpdir.gemspec Add workaround for test-bundler failure 2020-03-12 19:17:08 +09:00
tmpdir.rb Correctly remove temporary directory if path yielded is mutated 2020-05-29 07:06:46 -07:00
tracer.rb Fixed misspellings 2019-12-20 12:19:45 +09:00
tsort.rb
un.rb DocumentRoot is optional 2020-01-21 18:13:54 +09:00
uri.rb [ruby/uri] Remove RCS keywords 2020-03-26 18:06:14 +09:00
weakref.rb
webrick.rb lib/webrick.rb: use require_relative for webrick/utils.rb 2019-08-25 19:29:52 +09:00
yaml.rb Update the canonical repository url 2019-08-19 17:52:20 +09:00