Skip to content

Commit

Permalink
missing ;
Browse files Browse the repository at this point in the history
  • Loading branch information
army8735 committed Jun 8, 2014
1 parent 6398d14 commit 5b68226
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions dist/parser/es6/Parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,25 +110,25 @@
}
if(this.look.type() == Token.STRING) {
node.add(
this.match(),
this.match(';')
this.match()
);
}
else {
node.add(
this.importcaulse(),
this.fromcaulse(),
this.match(';')
this.fromcaulse()
);
}
node.add(this.match(';'));
return node;
},
moduleimport: function() {
var node = new Node(Node.MODULEIMPORT);
node.add(
this.match('module', true),
this.bindid(),
this.fromcaulse()
this.fromcaulse(),
this.match(';')
);
return node;
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homunculus",
"version": "0.2.6",
"version": "0.2.6-1",
"description": "A lexer&parser by Javascript",
"maintainers": [
{
Expand Down
10 changes: 5 additions & 5 deletions src/parser/es6/Parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,25 +102,25 @@ var Parser = IParser.extend(function(lexer) {
}
if(this.look.type() == Token.STRING) {
node.add(
this.match(),
this.match(';')
this.match()
);
}
else {
node.add(
this.importcaulse(),
this.fromcaulse(),
this.match(';')
this.fromcaulse()
);
}
node.add(this.match(';'));
return node;
},
moduleimport: function() {
var node = new Node(Node.MODULEIMPORT);
node.add(
this.match('module', true),
this.bindid(),
this.fromcaulse()
this.fromcaulse(),
this.match(';')
);
return node;
},
Expand Down

0 comments on commit 5b68226

Please sign in to comment.