From e6efe09ac30ae4c3366c4d6daebc8e717bb654a6 Mon Sep 17 00:00:00 2001 From: chunpu Date: Mon, 21 Apr 2014 16:23:42 +0800 Subject: [PATCH] Update example arithmetics.pegjs, make it work --- examples/arithmetics.pegjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/arithmetics.pegjs b/examples/arithmetics.pegjs index ce56d09..8d05806 100644 --- a/examples/arithmetics.pegjs +++ b/examples/arithmetics.pegjs @@ -39,6 +39,6 @@ Factor Integer "integer" = [0-9]+ { return parseInt(text(), 10); } - -_ = "whitespace" - [ \t\n\r]* + +_ "whitespace" + = [ \t\n\r]*