Skip to content

Commit 2d768fd

Browse files
committed
Adjust line number
1 parent 8443cc4 commit 2d768fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/easycoder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8049,7 +8049,7 @@ const EasyCoder_Run = {
80498049
const lino = program[program.pc].lino;
80508050
let line = '';
80518051
try {
8052-
line = program.source.scriptLines[lino].line;
8052+
line = program.source.scriptLines[lino].line + 1;
80538053
}
80548054
catch (e) {
80558055
}

js/easycoder/Run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const EasyCoder_Run = {
4747
const lino = program[program.pc].lino;
4848
let line = '';
4949
try {
50-
line = program.source.scriptLines[lino].line;
50+
line = program.source.scriptLines[lino].line + 1;
5151
}
5252
catch (e) {
5353
}

0 commit comments

Comments
 (0)