diff trunk/src/Declarations.d @ 211:d64413278bec

- Added class IllegalDeclaration.
author aziz
date Sun, 22 Jul 2007 17:26:03 +0000
parents ff32eb87300e
children deab661906ae
line wrap: on
line diff
--- a/trunk/src/Declarations.d	Sun Jul 22 17:25:05 2007 +0000
+++ b/trunk/src/Declarations.d	Sun Jul 22 17:26:03 2007 +0000
@@ -25,6 +25,16 @@
   }
 }
 
+class IllegalDeclaration : Declaration
+{
+  TOK tok;
+  this(TOK tok)
+  {
+    super(false);
+    this.tok = tok;
+  }
+}
+
 alias string[] ModuleName; // Identifier(.Identifier)*
 
 class ModuleDeclaration : Declaration