File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ const EasyCoder = {
38
38
console . log ( errString ) ;
39
39
return ;
40
40
}
41
- // const compiler = EasyCoder_Compiler;
42
41
const {
43
42
tokens,
44
43
scriptLines
@@ -81,7 +80,7 @@ const EasyCoder = {
81
80
} ,
82
81
83
82
verifySymbol : function ( name ) {
84
- return this . symbols . hasOwnProperty ( name ) ;
83
+ return typeof this . symbols [ name ] !== `undefined` ;
85
84
} ,
86
85
87
86
encode : function ( value ) {
@@ -224,10 +223,11 @@ const EasyCoder = {
224
223
this . compiler = compiler ;
225
224
compiler . value = EasyCoder_Value ;
226
225
compiler . condition = EasyCoder_Condition ;
226
+ compiler . parent = parent ;
227
227
compiler . domain = this . domain ;
228
228
compiler . imports = imports ;
229
229
compiler . continue = false ;
230
- const program = EasyCoder_Compiler . compile ( tokens ) ;
230
+ const program = compiler . compile ( tokens ) ;
231
231
// console.log('Program: ' + JSON.stringify(program, null, 2));
232
232
this . compiling = false ;
233
233
You can’t perform that action at this time.
0 commit comments