Skip to content

Commit 1a7f4a5

Browse files
committed
Minor update
1 parent 318e783 commit 1a7f4a5

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

dist/easycoder-min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/easycoder.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8070,6 +8070,7 @@ const EasyCoder_Compiler = {
80708070
const pc = this.program.length;
80718071
// First check for a label
80728072
if (keyword.endsWith(`:`)) {
8073+
console.log(`Label: ${keyword}`);
80738074
const name = keyword.substring(0, keyword.length - 1);
80748075
if (this.symbols[name]) {
80758076
throw new Error(`Duplicate symbol: '${name}'`);

js/easycoder/Compile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ const EasyCoder_Compiler = {
281281
const pc = this.program.length;
282282
// First check for a label
283283
if (keyword.endsWith(`:`)) {
284+
console.log(`Label: ${keyword}`);
284285
const name = keyword.substring(0, keyword.length - 1);
285286
if (this.symbols[name]) {
286287
throw new Error(`Duplicate symbol: '${name}'`);

0 commit comments

Comments
 (0)