diff dmd/identifier.c @ 1195:e961851fb8be

Merged DMD 1.042.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Fri, 03 Apr 2009 17:59:34 +0200
parents b30fe7e1dbb9
children
line wrap: on
line diff
--- a/dmd/identifier.c	Fri Apr 03 17:02:52 2009 +0200
+++ b/dmd/identifier.c	Fri Apr 03 17:59:34 2009 +0200
@@ -45,9 +45,9 @@
     return (char *)string;
 }
 
-char *Identifier::toHChars2()
+const char *Identifier::toHChars2()
 {
-    char *p = NULL;
+    const char *p = NULL;
 
     if (this == Id::ctor) p = "this";
     else if (this == Id::dtor) p = "~this";