commit | 75d112c4842295daa6542064aede617b774e3ff7 | [log] [download] |
---|---|---|
author | nicm <nicm> | Wed May 29 19:34:42 2019 +0000 |
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | Wed May 29 23:04:22 2019 +0100 |
tree | d79dbefa441965b72c34c73bcf957d18f88080e9 | |
parent | a05c3a7aa6071032bed8725b27dca8678b481dc6 [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.