diff options
author | archimed <[email protected]> | 2014-07-23 09:57:13 +0400 |
---|---|---|
committer | archimed <[email protected]> | 2014-07-24 09:44:27 +0400 |
commit | c9bc5c944bf064727385d071e9331f521a2b1447 (patch) | |
tree | 2ad0c2f24b3e1c2823c6236b7badeb079ba51e11 /erts/emulator/beam/erl_threads.h | |
parent | 10414ad49c1dce62e1022c80c0ed6edd45abc20d (diff) | |
download | otp-c9bc5c944bf064727385d071e9331f521a2b1447.tar.gz otp-c9bc5c944bf064727385d071e9331f521a2b1447.tar.bz2 otp-c9bc5c944bf064727385d071e9331f521a2b1447.zip |
Fix line counting in token and tokens functions
The line counter becomes invalid, when the rules with linewrap are
used. This issue appears, because the parsing FSM does not rollback
the line counter after attempting such rule.
Unit tests for 'token' and 'tokens' are also added.
Diffstat (limited to 'erts/emulator/beam/erl_threads.h')
0 files changed, 0 insertions, 0 deletions