homunculus
Advanced tools
Comparing version 0.3.3 to 0.3.4
{ | ||
"name": "homunculus", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "A lexer&parser by Javascript", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
@@ -568,3 +568,3 @@ var IParser = require('../Parser'); | ||
this.match(')'), | ||
this.stmt() | ||
this.stmt(yYield) | ||
); | ||
@@ -585,3 +585,3 @@ if(this.look && this.look.content() == 'else') { | ||
this.match(), | ||
this.stmt(), | ||
this.stmt(yYield), | ||
this.match('while'), | ||
@@ -995,8 +995,3 @@ this.match('('), | ||
); | ||
if(!this.look) { | ||
this.error('missing formal parameter'); | ||
} | ||
if(this.look.type() == Token.ID) { | ||
node.add(this.bindid(null, noIn, noOf)); | ||
} | ||
node.add(this.bindid('missing formal parameter', noIn, noOf)); | ||
node.add( | ||
@@ -1003,0 +998,0 @@ this.match('(', 'missing ( before formal parameters'), |
@@ -569,3 +569,3 @@ define(function(require, exports, module) { | ||
this.match(')'), | ||
this.stmt() | ||
this.stmt(yYield) | ||
); | ||
@@ -586,3 +586,3 @@ if(this.look && this.look.content() == 'else') { | ||
this.match(), | ||
this.stmt(), | ||
this.stmt(yYield), | ||
this.match('while'), | ||
@@ -996,8 +996,3 @@ this.match('('), | ||
); | ||
if(!this.look) { | ||
this.error('missing formal parameter'); | ||
} | ||
if(this.look.type() == Token.ID) { | ||
node.add(this.bindid(null, noIn, noOf)); | ||
} | ||
node.add(this.bindid('missing formal parameter', noIn, noOf)); | ||
node.add( | ||
@@ -1004,0 +999,0 @@ this.match('(', 'missing ( before formal parameters'), |
Sorry, the diff of this file is not supported yet
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
419059
12737