summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-02-18 00:42:59 -0800
committerOri Bernstein <ori@eigenstate.org>2017-02-18 00:42:59 -0800
commita71b06b4db8ff52d5da087cb36528cadad343793 (patch)
treed9074a92fc0d327b4e24ba29174b7097120cba91 /doc
parentd626bfc93b1df80a39432a0077cc6febf056fee6 (diff)
downloadmc-a71b06b4db8ff52d5da087cb36528cadad343793.tar.gz
Composite types is a shitty name.
Constructed types is not a shitty name.
Diffstat (limited to 'doc')
-rw-r--r--doc/lang.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lang.txt b/doc/lang.txt
index 762c4fe..fb684d6 100644
--- a/doc/lang.txt
+++ b/doc/lang.txt
@@ -1909,13 +1909,13 @@ TABLE OF CONTENTS:
typeid: ident | ident "(" typarams ")"
typarams: typaram ("," typaram)*
type: structdef | uniondef | tupledef |
- compound | generic | "..."
+ constructed | generic | "..."
structdef: "struct" structbody ";;"
uniondef: "union" unionbody ";;"
tupledef: "(" type ("," type)* ")"
generic: typaram ["::" traitlist]
traitlist: name | "(" name ("," name)
- compound: functype | sicetype | arraytype | ptrtype | void | name
+ constructed: functype | sicetype | arraytype | ptrtype | void | name
functype: "(" arglist "->" type ")"
arglist: [arg ("," arg)*]
arg: name ":" type