comparison 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
comparison
equal deleted inserted replaced
772:f0efbcb49248 773:6dbbb403fc58
188 } 188 }
189 189
190 int opEquals(TOK kind2) 190 int opEquals(TOK kind2)
191 { 191 {
192 return kind == kind2; 192 return kind == kind2;
193 }
194
195 int opCmp(Token* rhs)
196 {
197 return start < rhs.start;
193 } 198 }
194 199
195 /// Returns the Location of this token. 200 /// Returns the Location of this token.
196 Location getLocation(bool realLocation)() 201 Location getLocation(bool realLocation)()
197 { 202 {