X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/3934b7ee2c441fc30d64e401facd0e798fe4978f..b04739d01153eb539fd6b05095368e60b0d32bf6:/doc/syntax.tex diff --git a/doc/syntax.tex b/doc/syntax.tex index 8c66487..dd6a5f5 100644 --- a/doc/syntax.tex +++ b/doc/syntax.tex @@ -51,15 +51,15 @@ could be a token. ::= | "_" - ::= @! + ::= | - ::= "A" | "B" $| \cdots |$ "Z" - | "a" | "b" $| \cdots |$ "z" + ::= "A" | "B" | $\cdots$ | "Z" + | "a" | "b" | $\cdots$ | "z" | ::= "0" | - ::= "1" | "2" $| \cdots |$ "9" + ::= "1" | "2" | $\cdots$ | "9" \end{grammar} The precise definition of @ is left to the function @@ -107,15 +107,15 @@ discouraged. ::= "0" | @^* - ::= "0" @("b" @! "B"@) @^+ + ::= "0" @("b" | "B"@) @^+ ::= "0" | "1" - ::= "0" @["o" @! "O"@] @^+ + ::= "0" @["o" | "O"@] @^+ - ::= "0" | "1" $| \cdots |$ "7" + ::= "0" | "1" | $\cdots$ | "7" - ::= "0" @("x" @! "X"@) @^+ + ::= "0" @("x" | "X"@) @^+ ::= | "A" | "B" | "C" | "D" | "E" | "F" @@ -324,7 +324,7 @@ defined in the built-in module. ::= $[\epsilon, \mbox{@}]$ ::= - $[\mbox{@ @! $\epsilon$}, \mbox{@}]$ + $[\mbox{@ | $\epsilon$}, \mbox{@}]$ ::= $[\mbox{@}, \mbox{@}]$ @@ -352,7 +352,7 @@ keyword arguments. @[$[\mbox{@}]$@] "?" @[$[\mbox{@}]$@] - ::= @! + ::= | ::= "." @@ -681,7 +681,7 @@ declarations instead. ::= @^+ - ::= @! "(" @^+ ")" + ::= | "(" @^+ ")" \end{grammar} The @ will be output unchanged to one of the output files.