chiark / gitweb /
doc/syntax.tex, src/sod-module.5: Add missing `<TYPE>' expression syntax.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 22 Jul 2017 17:37:33 +0000 (18:37 +0100)
doc/syntax.tex
src/sod-module.5

index 5ac33d18dab0d9391c62debcf1dd58a58de18630..35ab100d26e5010748abd1ee415f30547ee108fc 100644 (file)
@@ -415,6 +415,7 @@ though the only operators currently defined act on integer values only.
 
 <primary> ::=
      <integer-literal> | <string-literal> | <char-literal> | <identifier>
+\alt "<" <plain-type> ">"
 \alt "?" <s-expression>
 \alt "(" <expression> ")"
 \end{grammar}
index b13c01e9d78a7ca8dd9e1b961f6582b34e71246c..44176733849e814cf81182b33f424a5f27466502 100644 (file)
@@ -683,6 +683,10 @@ class-definition
 |
 .I identifier
 .|
+.B <
+.I plain-type
+.B >
+.|
 .B ?
 .I s-expression
 .|