Mercurial > projects > dil
diff trunk/src/dil/lexer/Lexer.d @ 769:5e3ef1b2011c
Added and improved documentation.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sun, 17 Feb 2008 02:21:55 +0100 |
parents | 4579e8505d5e |
children | 580d4ca9f1ff |
line wrap: on
line diff
--- a/trunk/src/dil/lexer/Lexer.d Sat Feb 16 22:10:21 2008 +0100 +++ b/trunk/src/dil/lexer/Lexer.d Sun Feb 17 02:21:55 2008 +0100 @@ -304,7 +304,7 @@ t.end = p; auto id = IdTable.lookup(t.srcText); - t.kind = id.type; + t.kind = id.kind; t.ident = id; if (t.kind == TOK.Identifier || t.isKeyword) @@ -1054,7 +1054,7 @@ t.end = p; auto id = IdTable.lookup(t.srcText); - t.kind = id.type; + t.kind = id.kind; t.ident = id; if (t.kind == TOK.Identifier || t.isKeyword)