diff options
author | Alex Gulyás <gulyas.alex@gmail.com> | 2015-08-14 14:54:32 +0200 |
---|---|---|
committer | Alex Gulyás <gulyas.alex@gmail.com> | 2015-08-14 14:54:32 +0200 |
commit | 64ae43a386155b905fd4938ec40a61f3edff1856 (patch) | |
tree | 099d63db31bfd6c3697203f32bc933c2d162a27e /src/value | |
parent | 0f0746396a67028d4a58071e7b1a6ae26c9f6954 (diff) | |
download | milf-rs-64ae43a386155b905fd4938ec40a61f3edff1856.tar.gz milf-rs-64ae43a386155b905fd4938ec40a61f3edff1856.zip |
Fix the arithmetic overflow in Parser::to_linecol
This also changes the calculated line and column numbers. Without this
patch, if an error occurs at the end of a line, the returned line and
column numbers will point at the start of the next line.
After this patch, the line and column numbers will correctly point at
the end of the line where the actual parse error happened.
Diffstat (limited to 'src/value')
0 files changed, 0 insertions, 0 deletions