Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Typo.

  • Loading branch information...
commit fd8536d22735a185088a4d5a38cdea1f4d396f9b 1 parent 125d7a0
James Coglan authored
2  source/canopy/compiler/grammar.js
View
@@ -47,7 +47,7 @@ Canopy.Compiler.Grammar = {
builder.return_('result');
});
builder.unless_('this.error', function(builder) {
- builder.line_('this.error = {input: ' + input + ', offset :' + of + ', expected: "<EOF>"}');
+ builder.line_('this.error = {input: ' + input + ', offset: ' + of + ', expected: "<EOF>"}');
});
builder.var_('message', 'formatError(this.error)');
builder.var_('error', 'new Error(message)');
2  source/canopy/meta_grammar.js
View
@@ -2465,7 +2465,7 @@
return result;
}
if (!(this.error)) {
- this.error = {input: this._input, offset :this._offset, expected: "<EOF>"};
+ this.error = {input: this._input, offset: this._offset, expected: "<EOF>"};
}
var message = formatError(this.error);
var error = new Error(message);
Please sign in to comment.
Something went wrong with that request. Please try again.