diff tools/AstPrinter.d @ 176:dc9bf56b7ace

Can now use & as a unary operator and take an AddressOf
author Anders Johnsen <skabet@gmail.com>
date Thu, 24 Jul 2008 23:03:18 +0200
parents 01c2c49775ef
children 4e1a7265d620
line wrap: on
line diff
--- a/tools/AstPrinter.d	Thu Jul 24 21:12:12 2008 +0200
+++ b/tools/AstPrinter.d	Thu Jul 24 23:03:18 2008 +0200
@@ -197,6 +197,10 @@
                 auto iden = cast(Identifier)exp;
                 printIdentifier(iden);
                 break;
+            case ExpType.IdentifierTypeExp:
+                auto iden = cast(Identifier)exp;
+                printIdentifier(iden);
+                break;
             case ExpType.PointerTypeExp:
                 auto iden = cast(PointerTypeExp)exp;
                 printExp(iden.pointerOf);