diff trunk/src/Declarations.d @ 147:e46b3415ec16

- Implemented parsing pragma declarations. - Added class PragmaDeclaration.
author aziz
date Thu, 12 Jul 2007 14:20:05 +0000
parents 8180eb84e69c
children e3e4d3314166
line wrap: on
line diff
--- a/trunk/src/Declarations.d	Thu Jul 12 13:55:00 2007 +0000
+++ b/trunk/src/Declarations.d	Thu Jul 12 14:20:05 2007 +0000
@@ -327,3 +327,17 @@
     this.decls = decls;
   }
 }
+
+class PragmaDeclaration : Declaration
+{
+  string ident;
+  Expression[] args;
+  Declaration[] decls;
+  this(string ident, Expression[] args, Declaration[] decls)
+  {
+    super(true);
+    this.ident = ident;
+    this.args = args;
+    this.decls = decls;
+  }
+}