Remove unneded parser extension

This commit is contained in:
Markus Schirp 2014-10-08 12:59:46 +00:00
parent 0eb89a90a9
commit 0ceec793d0
3 changed files with 1 additions and 27 deletions

View file

@ -1,3 +1,3 @@
---
threshold: 18
total_score: 1120
total_score: 1118

View file

@ -7,7 +7,6 @@ require 'equalizer'
require 'digest/sha1'
require 'parser'
require 'parser/current'
require 'parser_extensions'
require 'unparser'
require 'ice_nine'
require 'diff/lcs'

View file

@ -1,25 +0,0 @@
# Monkeypatch to silence warnings in parser
#
# Will be removed once https://github.com/whitequark/parser/issues/145 is solved.
# Parser namespace
module Parser
# Monkeypatched lexer
class Lexer
# Return new lexer
#
# @return [Lexer]
#
# @api private
#
def self.new(*arguments)
super.tap do |instance|
instance.instance_eval do
@force_utf32 = false
end
end
end
end # Lexer
end # Parser