diff src/main.d @ 826:d659f7aa055c

Fixed Lexer unittest.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sat, 07 Jun 2008 14:05:28 +0200
parents a8b3de006554
children 80eb3251e010
line wrap: on
line diff
--- a/src/main.d	Thu Mar 27 16:56:55 2008 +0200
+++ b/src/main.d	Sat Jun 07 14:05:28 2008 +0200
@@ -345,7 +345,7 @@
   cc.addVersionId("D_Version2");
   foreach (versionId; GlobalSettings.versionIds)
     if (Lexer.isValidUnreservedIdentifier(versionId))
-      cc.versionIds[versionId] = true;
+      cc.addVersionId(versionId);
   return cc;
 }
 
@@ -398,7 +398,7 @@
   }
 }
 
-/// Prints a help message for command.
+/// Prints the help message of a command.
 void printHelp(char[] command)
 {
   char[] msg;