diff trunk/src/dil/lexer/Token.d @ 773:6dbbb403fc58

Improved the DDocEmitter.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Mon, 18 Feb 2008 17:36:12 +0100
parents 00f872d949ea
children 8380fb2c765f
line wrap: on
line diff
--- a/trunk/src/dil/lexer/Token.d	Mon Feb 18 03:51:45 2008 +0100
+++ b/trunk/src/dil/lexer/Token.d	Mon Feb 18 17:36:12 2008 +0100
@@ -192,6 +192,11 @@
     return kind == kind2;
   }
 
+  int opCmp(Token* rhs)
+  {
+    return start < rhs.start;
+  }
+
   /// Returns the Location of this token.
   Location getLocation(bool realLocation)()
   {