diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-03-05 21:13:43 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-03-05 21:13:43 -0800 |
commit | d78a9fc8069a3ac2198f9b2d2f69386cc5873e60 (patch) | |
tree | 5edf3d3b16371d669c5c88803ebfeb0a9c21dcda /chksum.h | |
parent | 1394e3140ed808ce5061c3ec4dd77b8ac89bfa29 (diff) | |
download | txr-d78a9fc8069a3ac2198f9b2d2f69386cc5873e60.tar.gz txr-d78a9fc8069a3ac2198f9b2d2f69386cc5873e60.tar.bz2 txr-d78a9fc8069a3ac2198f9b2d2f69386cc5873e60.zip |
tags: fix off-by-one line numbers for hash bang.
* tags.tl (collect-tags): For hash-bang files, pop the dummy
blank line that we inserted at the head of the line
list to obtain 1-based numbering. If the parser starts working
ater the #! line, it means the second line is 1, which is the
same as zero-based numbering, so we can lose the dummy
entry and all is well.
Diffstat (limited to 'chksum.h')
0 files changed, 0 insertions, 0 deletions