]> Cypherpunks repositories - gostls13.git/commitdiff
fixed typo in EBNF of ENBF
authorRobert Griesemer <gri@golang.org>
Thu, 23 Apr 2009 21:42:21 +0000 (14:42 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 23 Apr 2009 21:42:21 +0000 (14:42 -0700)
R=iant
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=27801
CL=27806

doc/go_spec.html

index 4c6d26e048cb3d93af8ff5fe399b30c40abef007..f86a293d577d0fce5ecd2e7b8859cda576394e5d 100644 (file)
@@ -56,7 +56,7 @@ The syntax is specified using Extended Backus-Naur Form (EBNF):
 </p>
 
 <pre class="grammar">
-Production  = production_name "=" Expression .
+Production  = production_name "=" Expression "." .
 Expression  = Alternative { "|" Alternative } .
 Alternative = Term { Term } .
 Term        = production_name | token [ "..." token ] | Group | Option | Repetition .