Skip to content

Commit

Permalink
Removed Ruby warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cjheath committed Aug 21, 2009
1 parent 30a86fc commit 73ae582
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/treetop/compiler.rb
Expand Up @@ -2,5 +2,5 @@
require File.join(dir, *%w[compiler lexical_address_space])
require File.join(dir, *%w[compiler ruby_builder])
require File.join(dir, *%w[compiler node_classes])
require File.join(dir, *%w[compiler metagrammar]) unless $exclude_metagrammar
require File.join(dir, *%w[compiler metagrammar]) unless defined?($exclude_metagrammar)
require File.join(dir, *%w[compiler grammar_compiler])
2 changes: 1 addition & 1 deletion lib/treetop/compiler/node_classes/character_class.rb
Expand Up @@ -10,7 +10,7 @@ def compile(address, builder, parent_expression = nil)
builder << "@index += 1"
end
builder.else_ do
"terminal_parse_failure(#{single_quote(characters)})"
# "terminal_parse_failure(#{single_quote(characters)})"
assign_result 'nil'
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/treetop/version.rb
Expand Up @@ -2,7 +2,7 @@ module Treetop #:nodoc:
module VERSION #:nodoc:
MAJOR = 1
MINOR = 3
TINY = 1
TINY = 2

STRING = [MAJOR, MINOR, TINY].join('.')
end
Expand Down

0 comments on commit 73ae582

Please sign in to comment.