diff ast/Decl.d @ 126:c3b24e7e8cf8

Carius changes to the parser. Parsing attributes, lexing many keywords(not all yet).
author Anders Johnsen <skabet@gmail.com>
date Tue, 27 May 2008 10:32:31 +0200
parents 189c049cbfcc
children ed815b31479b
line wrap: on
line diff
--- a/ast/Decl.d	Sun May 25 21:13:56 2008 +0200
+++ b/ast/Decl.d	Tue May 27 10:32:31 2008 +0200
@@ -9,7 +9,8 @@
 
 import sema.Scope,
        sema.DType,
-       basic.SmallArray;
+       basic.SmallArray,
+       basic.Attribute;
 
 enum DeclType
 {
@@ -34,6 +35,7 @@
 
     DeclType declType;
     Scope env;
+    Attribute att;
 }
 
 class VarDecl : Decl