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 5ac33d1..35ab100 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 b13c01e..4417673 100644 (file)
@@ -683,6 +683,10 @@ class-definition
 |
 .I identifier
 .|
+.B <
+.I plain-type
+.B >
+.|
 .B ?
 .I s-expression
 .|