homunculus
Advanced tools
Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "homunculus", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "A lexer&parser by Javascript", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
@@ -308,2 +308,5 @@ var Class = require('../../util/Class'); | ||
} | ||
else { | ||
child.setThis(undefined); | ||
} | ||
} | ||
@@ -347,7 +350,9 @@ } | ||
child.setThis(params.leaves()[0]); | ||
params.leaves()[2].leaves()[0].leaves().forEach(function(leaf, i) { | ||
if(i % 2 == 1) { | ||
child.addAParam(leaf); | ||
} | ||
}); | ||
if(params.leaves()[2]) { | ||
params.leaves()[2].leaves()[0].leaves().forEach(function(leaf, i) { | ||
if(i % 2 == 1) { | ||
child.addAParam(leaf); | ||
} | ||
}); | ||
} | ||
} | ||
@@ -354,0 +359,0 @@ function prmrexpr(node, context) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1378244
26338