test/parser-test.js: Fix missing/unnecessary semicolons

Fixes the following JSHint errors:

  ./test/parser-test.js: line 49, col 4, Missing semicolon.
  ./test/parser-test.js: line 58, col 4, Missing semicolon.
  ./test/parser-test.js: line 77, col 2, Unnecessary semicolon.
  ./test/parser-test.js: line 137, col 23, Missing semicolon.
redux
David Majda 13 years ago
parent d84f38c64b
commit 934bfa5eef

@ -46,7 +46,7 @@ function nodeWithExpressionConstructor(type) {
type: type, type: type,
expression: expression expression: expression
}; };
} };
} }
function nodeWithCodeConstructor(type) { function nodeWithCodeConstructor(type) {
@ -55,7 +55,7 @@ function nodeWithCodeConstructor(type) {
type: type, type: type,
code: code code: code
}; };
} };
} }
var simpleAnd = nodeWithExpressionConstructor("simple_and"); var simpleAnd = nodeWithExpressionConstructor("simple_and");
@ -74,7 +74,7 @@ function action(expression, code) {
expression: expression, expression: expression,
code: code code: code
}; };
}; }
function ruleRef(name) { function ruleRef(name) {
return { return {
@ -134,7 +134,7 @@ function identifierGrammar(identifier) {
return oneRuleGrammar(ruleRef(identifier)); return oneRuleGrammar(ruleRef(identifier));
} }
var literal_ = literal var literal_ = literal;
function literalGrammar(literal) { function literalGrammar(literal) {
return oneRuleGrammar(literal_(literal)); return oneRuleGrammar(literal_(literal));
} }

Loading…
Cancel
Save