assembler - Fix: Make preparse start counting lines at 1, so that they match the numbers in your text editor

This commit is contained in:
n loewen 2023-08-24 14:42:45 +01:00
parent 621afa0553
commit 9268b2c59a
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ function preparseSourceCode(source) {
return lines.map((line, index) => {
dbg(1, ` ${line}`);
let info = {
number: index,
number: index + 1,
source: line,
sanitized: stripWhitespaceFromEnds(stripComments(line)),
type: getLineType(line),