0
0

🚸 warn on unterminated command definition

This commit is contained in:
DrMaxNix 2022-10-01 16:17:43 +02:00
parent 2e54a114dd
commit fd2c040662

View File

@ -40,6 +40,12 @@ class Juicescript_parser {
} }
// MAKE SURE WE'RE BACK TO ROOT SCOPE //
if(this.scope !== null){
this.warning("unterminated command definition '" + this.scope + "'");
}
// RETURN PROGRAM TREE // // RETURN PROGRAM TREE //
return this.tree; return this.tree;
} }