Skip to content

Commit

Permalink
fix: false negative on line validation with #bank
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Mar 3, 2024
1 parent 8344cf7 commit 57e13b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions txt2bas/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ export function parseLines(
bankFile = `${filename || 'untitled'}-${bankFile}.bnk`;
}
autoline.reset();
lastLine = -1;
const bank = {
filename: bankFile,
line: statements.length,
Expand Down

0 comments on commit 57e13b3

Please sign in to comment.