Skip to content

Commit

Permalink
Fixed typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zenspider authored and tenderlove committed Feb 27, 2012
1 parent 604dbf9 commit ef67bc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/racc/parserfilegenerator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ def integer_list(name, table)
end

def serialize_integer_list_compressed(name, table)
# TODO: this can be made a LOT more clean with a simple split/map
sep = "\n"
nsep = ",\n"
buf = ''
Expand All @@ -351,7 +352,7 @@ def serialize_integer_list_compressed(name, table)
line ' ]'

@f.print(<<-End)
#{name} = arr = Array.new(#{table.size}, nil)
#{name} = arr = ::Array.new(#{table.size}, nil)
idx = 0
clist.each do |str|
str.split(',', -1).each do |i|
Expand Down

0 comments on commit ef67bc8

Please sign in to comment.