diff trunk/src/dil/lexer/TokensEnum.d @ 781:d887184efb3c

Improved class TagMap.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Thu, 21 Feb 2008 00:19:15 +0100
parents 9f61e8af55d5
children c24be8d4f6ab
line wrap: on
line diff
--- a/trunk/src/dil/lexer/TokensEnum.d	Wed Feb 20 23:13:56 2008 +0100
+++ b/trunk/src/dil/lexer/TokensEnum.d	Thu Feb 21 00:19:15 2008 +0100
@@ -121,7 +121,7 @@
 alias TOK.VERSION SpecialTokensEnd;
 
 /// A table mapping each TOK to a string.
-const string[] tokToString = [
+const string[TOK.MAX] tokToString = [
   "Invalid",
 
   "Illegal",