diff trunk/src/main.d @ 679:ff6971637f88

Renamed Token member type to kind.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Fri, 18 Jan 2008 23:40:12 +0100
parents c4e3a34e40f1
children 1ae72234db26
line wrap: on
line diff
--- a/trunk/src/main.d	Fri Jan 18 23:11:44 2008 +0100
+++ b/trunk/src/main.d	Fri Jan 18 23:40:12 2008 +0100
@@ -182,9 +182,9 @@
     lx.scanAll();
     auto token = lx.firstToken();
 
-    for (; token.type != TOK.EOF; token = token.next)
+    for (; token.kind != TOK.EOF; token = token.next)
     {
-      if (token.type == TOK.Newline || ignoreWSToks && token.isWhitespace)
+      if (token.kind == TOK.Newline || ignoreWSToks && token.isWhitespace)
         continue;
       if (printWS && token.ws)
         Stdout(token.wsChars);