Skip to content

Commit d3e0e72

Browse files
committed
Enhance 'print'
1 parent 1a3fadd commit d3e0e72

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
@@ -1186,7 +1186,7 @@ const EasyCoder_Core = {
11861186
run: program => {
11871187
const command = program[program.pc];
11881188
const value = program.getFormattedValue(command.value);
1189-
console.log(`-> ` + value);
1189+
console.log(`(${program.script}:${command.lino}): ` + value);
11901190
return command.pc + 1;
11911191
}
11921192
},

js/easycoder/Core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ const EasyCoder_Core = {
11861186
run: program => {
11871187
const command = program[program.pc];
11881188
const value = program.getFormattedValue(command.value);
1189-
console.log(`-> ` + value);
1189+
console.log(`(${program.script}:${command.lino}): ` + value);
11901190
return command.pc + 1;
11911191
}
11921192
},

0 commit comments

Comments
 (0)