X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/b5c8ba347cb82a9332d0e7260be5842a7ee281ba..ae0f15ee8427fa91cfd1945bfded847032cb8a25:/doc/syntax.tex?ds=sidebyside diff --git a/doc/syntax.tex b/doc/syntax.tex index 5f8c89e..560dc47 100644 --- a/doc/syntax.tex +++ b/doc/syntax.tex @@ -451,8 +451,14 @@ recognized. \alt "bool" | "_Bool" \alt "imaginary" | "_Imaginary" | "complex" | "_Complex" \alt +\alt - ::= "const" | "volatile" | "restrict" + ::= | "const" | "volatile" | "restrict" + + ::= + "(" @^+ ")" + + ::= "atomic" | "_Atomic" ::= \end{grammar} @@ -472,6 +478,7 @@ combinations are permitted. A declaration specifier must consist of zero or more @s, and one of the following, up to reordering. \begin{itemize} \item @ +\item @ \item @"struct" @, @"union" @, @"enum" @ \item @"void" \item @"_Bool", @"bool" @@ -509,6 +516,8 @@ All of these have their usual C meanings. ::= @^+ + ::= $[\epsilon]$ + ::= $[\mbox{@ @! $\epsilon$}]$ ::= $[\mbox{@}]$