Permalink
Browse files

Fixed typing issue

  • Loading branch information...
1 parent 5023cdb commit 3a73f650a6ec13479a470e2dbcb218b7b061e693 @zenspider zenspider committed Jan 22, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/racc/parserfilegenerator.rb
@@ -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 = ''
@@ -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|

0 comments on commit 3a73f65

Please sign in to comment.