File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ \section{Notation\label{notation}}
4343\index {syntax}
4444\index {notation}
4545
46- \begin {verbatim }
47- name: lc_letter ( lc_letter | "_")*
48- lc_letter: "a"..."z"
49- \end {verbatim }
46+ \begin {productionlist }
47+ \production {name}{ \token { lc_letter} ( \token { lc_letter} | "_" )*}
48+ \production {lc_letter}{ "a"..."z"}
49+ \end {productionlist }
5050
5151The first line says that a \code {name} is an \code {lc_letter} followed by
5252a sequence of zero or more \code {lc_letter}s and underscores. An
@@ -55,7 +55,7 @@ \section{Notation\label{notation}}
5555names defined in lexical and grammar rules in this document.)
5656
5757Each rule begins with a name (which is the name defined by the rule)
58- and a colon . A vertical bar (\code {|}) is used to separate
58+ and \code {::=} . A vertical bar (\code {|}) is used to separate
5959alternatives; it is the least binding operator in this notation. A
6060star (\code {*}) means zero or more repetitions of the preceding item;
6161likewise, a plus (\code {+}) means one or more repetitions, and a
You can’t perform that action at this time.
0 commit comments