Mercurial > projects > ldc
diff dmd2/doc.c @ 1577:e4f7b5d9c68a
DMD 2.032 Merge.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Tue, 08 Sep 2009 10:07:56 +0100 |
parents | 638d16625da2 |
children |
line wrap: on
line diff
--- a/dmd2/doc.c Tue Aug 25 21:35:43 2009 +0200 +++ b/dmd2/doc.c Tue Sep 08 10:07:56 2009 +0100 @@ -1,6 +1,6 @@ // Compiler implementation of the D programming language -// Copyright (c) 1999-2008 by Digital Mars +// Copyright (c) 1999-2009 by Digital Mars // All Rights Reserved // written by Walter Bright // http://www.digitalmars.com @@ -238,7 +238,7 @@ // Generate predefined macros // Set the title to be the name of the module - { char *p = toPrettyChars(); + { const char *p = toPrettyChars(); Macro::define(¯otable, (unsigned char *)"TITLE", 5, (unsigned char *)p, strlen(p)); }