diff --git a/lib/parser.js b/lib/parser.js index 92cdb34..1ed8054 100644 --- a/lib/parser.js +++ b/lib/parser.js @@ -105,7 +105,7 @@ module.exports = (function() { peg$c34 = function(expression) { return expression; }, peg$c35 = void 0, peg$c36 = function(name) { - return { type: "rule_ref", name: name } + return { type: "rule_ref", name: name }; }, peg$c37 = function(operator, code) { return { type: OPS_TO_SEMANTIC_PREDICATE_TYPES[operator], code: code }; diff --git a/src/parser.pegjs b/src/parser.pegjs index 430bdf8..493951d 100644 --- a/src/parser.pegjs +++ b/src/parser.pegjs @@ -155,7 +155,7 @@ PrimaryExpression RuleReferenceExpression = name:IdentifierName !(__ (StringLiteral __)? "=") { - return { type: "rule_ref", name: name } + return { type: "rule_ref", name: name }; } SemanticPredicateExpression