shithub: mc

Download patch

ref: 7a78ce12338f623cb53a78e3568b86bf67bf1ea1
parent: 407437ff53418d0e1328b787d79e4155818ff6c1
author: Ori Bernstein <ori@markovcorp.com>
date: Mon Mar 6 08:28:50 EST 2017

You can declare things without attributes.

--- a/doc/lang.txt
+++ b/doc/lang.txt
@@ -191,7 +191,7 @@
     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]