PEG.js grammar: Add missing semicolon

Fixes the following JSHint error:

  lib/parser.js: line 108, col 54, Missing semicolon.
redux
David Majda 10 years ago
parent 421b8d6e51
commit 0678bd8a0c

@ -105,7 +105,7 @@ module.exports = (function() {
peg$c34 = function(expression) { return expression; }, peg$c34 = function(expression) { return expression; },
peg$c35 = void 0, peg$c35 = void 0,
peg$c36 = function(name) { peg$c36 = function(name) {
return { type: "rule_ref", name: name } return { type: "rule_ref", name: name };
}, },
peg$c37 = function(operator, code) { peg$c37 = function(operator, code) {
return { type: OPS_TO_SEMANTIC_PREDICATE_TYPES[operator], code: code }; return { type: OPS_TO_SEMANTIC_PREDICATE_TYPES[operator], code: code };

@ -155,7 +155,7 @@ PrimaryExpression
RuleReferenceExpression RuleReferenceExpression
= name:IdentifierName !(__ (StringLiteral __)? "=") { = name:IdentifierName !(__ (StringLiteral __)? "=") {
return { type: "rule_ref", name: name } return { type: "rule_ref", name: name };
} }
SemanticPredicateExpression SemanticPredicateExpression

Loading…
Cancel
Save