commit | c17edd594e8088d2355102a8ca58f4b256c59397 | [log] [download] |
---|---|---|
author | nicm <nicm> | Wed May 29 19:34:42 2019 +0000 |
committer | nicm <nicm> | Wed May 29 19:34:42 2019 +0000 |
tree | 2773211f194ab36a80521ce247983aa466be4c02 | |
parent | a4424fbebf929f4ad742200365fc330a26a65d7f [diff] |
The line number needs to be updated only after the \n is processed by the parser, so store a flag and update it next time around. Also each new line needs its own shared data.