We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
checkdelim!
❯ julia --check-bounds=yes --compiled-modules=no julia> using Parsers julia> Parsers.checkdelim!(codeunits("::::"), 1, 4, Parsers.Options(delim = "::", ignorerepeated = true)) == 5 ERROR: BoundsError: attempt to access 4-codeunit String at index [5] Stacktrace: [1] checkbounds @ ./strings/basic.jl:216 [inlined] [2] codeunit @ ./strings/string.jl:117 [inlined] [3] getindex @ ./strings/basic.jl:756 [inlined] [4] peekbyte @ ~/.julia/packages/Parsers/gi2J3/src/utils.jl:345 [inlined] [5] checkdelim!(source::Base.CodeUnits{UInt8, String}, pos::Int64, len::Int64, options::Parsers.Options) @ Parsers ~/.julia/packages/Parsers/gi2J3/src/Parsers.jl:375 [6] top-level scope @ REPL[2]:1
(running with --compiled-modules=no to make sure no precompile file with bounds checking turned off is cached)
--compiled-modules=no
The text was updated successfully, but these errors were encountered:
Fix out of bounds in checkdelim
47f2e61
Fixes #156
Fix out of bounds in checkdelim (#157)
0e62a95
Successfully merging a pull request may close this issue.
(running with
--compiled-modules=no
to make sure no precompile file with bounds checking turned off is cached)The text was updated successfully, but these errors were encountered: