@@ -161,7 +161,7 @@ function incr!(c::ByteValueCounter, b::UInt8)
161161end
162162
163163# given the various header and normalization options, figure out column names for a file
164- function detectcolumnnames (buf, headerpos, datapos, len, options, @nospecialize (header), normalizenames):: Vector{Symbol}
164+ function detectcolumnnames (buf, headerpos, datapos, len, options, @nospecialize (header), normalizenames, oq, eq, cq, cmt, ignoreemptyrows ):: Vector{Symbol}
165165 if header isa Union{AbstractVector{Symbol}, AbstractVector{String}}
166166 fields, pos = readsplitline (buf, datapos, len, options)
167167 isempty (header) && return [Symbol (:Column , i) for i = 1 : length (fields)]
@@ -175,7 +175,7 @@ function detectcolumnnames(buf, headerpos, datapos, len, options, @nospecialize(
175175 elseif header isa AbstractVector{<: Integer }
176176 names, pos = readsplitline (buf, headerpos, len, options)
177177 for row = 2 : length (header)
178- pos = skiptorow (buf, pos, len, options . oq, options . e, options . cq, options . cmt, options . ignoreemptylines , 1 , header[row] - header[row - 1 ])
178+ pos = skiptorow (buf, pos, len, oq, eq, cq, cmt, ignoreemptyrows , 1 , header[row] - header[row - 1 ])
179179 fields, pos = readsplitline (buf, pos, len, options)
180180 for (i, x) in enumerate (fields)
181181 names[i] *= " _" * x
0 commit comments