aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorarchimed <[email protected]>2014-07-23 09:57:13 +0400
committerarchimed <[email protected]>2014-07-24 09:44:27 +0400
commitc9bc5c944bf064727385d071e9331f521a2b1447 (patch)
tree2ad0c2f24b3e1c2823c6236b7badeb079ba51e11 /erts
parent10414ad49c1dce62e1022c80c0ed6edd45abc20d (diff)
downloadotp-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')
0 files changed, 0 insertions, 0 deletions