diff --git a/examples/arithmetics.pegjs b/examples/arithmetics.pegjs index 28368a0..4cb2fd5 100644 --- a/examples/arithmetics.pegjs +++ b/examples/arithmetics.pegjs @@ -6,11 +6,9 @@ start : additive additive : multiplicative "+" additive { return $1 + $3; } - / multiplicative "-" additive { return $1 - $3; } / multiplicative multiplicative : primary "*" multiplicative { return $1 * $3; } - / primary "/" multiplicative { return $1 / $3; } / primary primary : integer