From 34d19a7dc621e048bbc276501f5834766bae45ba Mon Sep 17 00:00:00 2001 From: David Majda Date: Wed, 14 Sep 2011 12:48:11 +0200 Subject: [PATCH] test/passes-test.js: Add missing semicolons Fixes the following JSHint errors: ./test/passes-test.js: line 12, col 6, Missing semicolon. ./test/passes-test.js: line 25, col 4, Missing semicolon. ./test/passes-test.js: line 229, col 41, Missing semicolon. --- test/passes-test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/passes-test.js b/test/passes-test.js index 054cad3..5d81abf 100644 --- a/test/passes-test.js +++ b/test/passes-test.js @@ -9,7 +9,7 @@ test("removes proxy rules", function() { initializer: null, rules: rules, startRule: startRule - } + }; } var proxiedRule = { @@ -22,7 +22,7 @@ test("removes proxy rules", function() { var proxiedRuleRef = { type: "rule_ref", name: "proxied" - } + }; function simpleGrammarWithStartAndProxied(startRuleExpression) { return simpleGrammar( @@ -226,7 +226,7 @@ test("computes stack depths", function() { for (var i = 0; i < cases.length; i++) { var ast = PEG.parser.parse(cases[i].grammar); - PEG.compiler.passes.stackDepths(ast) + PEG.compiler.passes.stackDepths(ast); deepEqual(ast.rules["start"].resultStackDepth, cases[i].resultStackDepth); deepEqual(ast.rules["start"].posStackDepth, cases[i].posStackDepth);