homunculus
Advanced tools
Comparing version 0.8.1 to 0.8.2
{ | ||
"name": "homunculus", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "A lexer&parser by Javascript", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
@@ -1711,2 +1711,6 @@ var IParser = require('../Parser'); | ||
if(next.content() == '(') { | ||
if(!isConstructor) { | ||
node.add(this.match()); | ||
this.error('super call is only allowed in derived constructor'); | ||
} | ||
node.add( | ||
@@ -1716,5 +1720,2 @@ this.match(), | ||
); | ||
if(!isConstructor) { | ||
this.error('super call is only allowed in derived constructor'); | ||
} | ||
mmb = node; | ||
@@ -2103,3 +2104,3 @@ node = new Node(Node.CALLEXPR); | ||
node.add( | ||
this.proptname(noIn, noOf), | ||
this.proptname(cmpt, noIn, noOf), | ||
this.match(':', 'missing : after property id'), | ||
@@ -2106,0 +2107,0 @@ this.assignexpr(noIn, noOf) |
@@ -1711,2 +1711,6 @@ define(function(require, exports, module) {var IParser = require('../Parser'); | ||
if(next.content() == '(') { | ||
if(!isConstructor) { | ||
node.add(this.match()); | ||
this.error('super call is only allowed in derived constructor'); | ||
} | ||
node.add( | ||
@@ -1716,5 +1720,2 @@ this.match(), | ||
); | ||
if(!isConstructor) { | ||
this.error('super call is only allowed in derived constructor'); | ||
} | ||
mmb = node; | ||
@@ -2103,3 +2104,3 @@ node = new Node(Node.CALLEXPR); | ||
node.add( | ||
this.proptname(noIn, noOf), | ||
this.proptname(cmpt, noIn, noOf), | ||
this.match(':', 'missing : after property id'), | ||
@@ -2106,0 +2107,0 @@ this.assignexpr(noIn, noOf) |
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
1237887
17787