scripts/digfort: better csv handling

develop
jj 2013-10-30 14:31:33 +01:00
parent d4d4135096
commit 6546ed2d5a
1 changed files with 1 additions and 1 deletions

@ -8,7 +8,7 @@ if df.cursor.x == -30000
end end
tiles = planfile.lines.map { |l| tiles = planfile.lines.map { |l|
l.sub(/#.*/, '').split(';').map { |t| t.strip } l.sub(/#.*/, '').split(/[;,]/).map { |t| t = t.strip ; ((t[0] == ?") ? t[1..-2] : t) }
} }
x = x0 = df.cursor.x x = x0 = df.cursor.x