From 8ae3eea7c4e8b011abafc06f5b07a0a71cd52bc9 Mon Sep 17 00:00:00 2001 From: David Majda Date: Sat, 4 Feb 2012 22:22:16 +0100 Subject: [PATCH] Fix typo in JavaScript example grammar Fixes GH-62. --- examples/javascript.pegjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/javascript.pegjs b/examples/javascript.pegjs index 9aec0fc..4d36c67 100644 --- a/examples/javascript.pegjs +++ b/examples/javascript.pegjs @@ -630,7 +630,7 @@ CallExpression switch (argumentsOrAccessors[i].type) { case "FunctionCallArguments": result = { - type: "FuctionCall", + type: "FunctionCall", name: result, arguments: argumentsOrAccessors[i].arguments };