diff dmd/lexer.h @ 658:50383e476c7e

Upgraded frontend to DMD 1.035
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Mon, 06 Oct 2008 16:22:11 +0200
parents 4435f57956e7
children eef8ac26c66c
line wrap: on
line diff
--- a/dmd/lexer.h	Mon Oct 06 14:37:00 2008 +0200
+++ b/dmd/lexer.h	Mon Oct 06 16:22:11 2008 +0200
@@ -158,6 +158,7 @@
 	TOKtls,
 	TOKline,
 	TOKfile,
+    TOKshared,
 #endif
 
 // LLVMDC specific
@@ -240,13 +241,13 @@
     real_t float80value; // can't use this in a union!
 #endif
 
-    static char *tochars[TOKMAX];
+    static const char *tochars[TOKMAX];
     static void *operator new(size_t sz);
 
     int isKeyword();
     void print();
-    char *toChars();
-    static char *toChars(enum TOK);
+    const char *toChars();
+    static const char *toChars(enum TOK);
 };
 
 struct Lexer