summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-03-06 13:28:50 -0800
committerOri Bernstein <ori@markovcorp.com>2017-03-06 13:28:50 -0800
commit7a78ce12338f623cb53a78e3568b86bf67bf1ea1 (patch)
treec7aa85d71f5e4b1ef3ae099929290208cdc7211b /doc
parent407437ff53418d0e1328b787d79e4155818ff6c1 (diff)
downloadmc-7a78ce12338f623cb53a78e3568b86bf67bf1ea1.tar.gz
You can declare things without attributes.
Diffstat (limited to 'doc')
-rw-r--r--doc/lang.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lang.txt b/doc/lang.txt
index 6b61c19..b232f7c 100644
--- a/doc/lang.txt
+++ b/doc/lang.txt
@@ -191,7 +191,7 @@ TABLE OF CONTENTS:
3.3. Declarations:
decl: attrs ("var" | "const" | "generic") decllist
- attrs: ("extern" | "pkglocal" | "$noret")+
+ attrs: ("extern" | "pkglocal" | "$noret")*
decllist: declbody ("," declbody)*
declbody: declcore ["=" expr]
declcore: name [":" type]