ql.io-compiler
Advanced tools
Comparing version 0.8.3 to 0.8.4
@@ -86,3 +86,3 @@ /* | ||
//dependsOn are the lines in try clause | ||
divescope(line.tryClause, line); | ||
divescope(line.dependsOn, line); | ||
_.each(line.catchClause, function(mycatch, k){ | ||
@@ -134,3 +134,3 @@ divescope(mycatch.lines, line); | ||
//dependsOn are the lines in try clause | ||
divescope(line.tryClause, line); | ||
divescope(line.dependsOn, line); | ||
_.each(line.catchClause, function(mycatch, k){ | ||
@@ -251,2 +251,10 @@ divescope(mycatch.lines, line); | ||
introspectObject(line.object, symbols, line.dependsOn, line); | ||
if(line.udf && line.udf != 'require'){ | ||
_.each(line.args, function(arg){ | ||
dependency = symbols[arg.name]; | ||
if(dependency){ | ||
addDep(line, line.dependsOn, dependency, symbols); | ||
} | ||
}); | ||
} | ||
break; | ||
@@ -314,3 +322,4 @@ case 'return': | ||
case 'try': | ||
_.each(line.tryClause, function(tryline){ | ||
_.each(line.dependsOn, function(tryline){ | ||
addListener(tryline, line); | ||
walk(tryline, symbols); | ||
@@ -317,0 +326,0 @@ }); |
{ | ||
"author": "ql.io", | ||
"name": "ql.io-compiler", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
495648
9802