manual: remove unusual production name in match-expr grammar.

This commit is contained in:
Graydon Hoare 2012-10-11 17:16:16 -07:00
parent 1d69b81eef
commit 533cce8050

View file

@ -2178,7 +2178,7 @@ then any `else` block is executed.
~~~~~~~~{.ebnf .gram}
match_expr : "match" expr '{' match_arm [ '|' match_arm ] * '}' ;
match_arm : match_pat '=>' expr_or_blockish ;
match_arm : match_pat '=>' [ expr "," | '{' block '}' ] ;
match_pat : pat [ ".." pat ] ? [ "if" expr ] ;
~~~~~~~~