Skip to content

Commit da82d60

Browse files
committed
Update
1 parent da47a17 commit da82d60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FileFormats/LP/read.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ function _throw_parse_error(state::_LexerState, token::_Token, msg::String)
284284
line = String(read(state.io, 2 * offset))
285285
i = something(findprev('\n', line, offset-1), 0)
286286
j = something(findnext('\n', line, offset), length(line) + 1)
287-
extract = replace(line[(i+1):(j-1)], '\r' => '')
287+
extract = replace(line[(i+1):(j-1)], "\r" => "")
288288
help = string(extract, "\n", " "^(offset - i + - 1), "^\n", msg)
289289
return throw(ParseError(state.line, help))
290290
end

0 commit comments

Comments
 (0)