diff trunk/src/dil/semantic/Pass1.d @ 714:140469ecb90e

Added code and applied fixes. Added getDDocText() and isLineComment(). Renamed getDocComments() to getDocTokens(). Fixed it as well. printSymbolTable() is called recursively now. Fixed genAnonymousID().
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Thu, 31 Jan 2008 01:10:30 +0100
parents 1bfae3480fdc
children 7917811f8116
line wrap: on
line diff
--- a/trunk/src/dil/semantic/Pass1.d	Wed Jan 30 23:23:58 2008 +0100
+++ b/trunk/src/dil/semantic/Pass1.d	Thu Jan 31 01:10:30 2008 +0100
@@ -201,7 +201,7 @@
     auto isAnonymous = d.name is null;
     if (isAnonymous)
       d.symbol.name = IdTable.genAnonEnumID();
-    insert(d.symbol, d.name);
+    insert(d.symbol, d.symbol.name);
     auto parentScopeSymbol = scop.symbol;
     enterScope(d.symbol);
     // Declare members.