diff dmd2/dsymbol.c @ 1577:e4f7b5d9c68a

DMD 2.032 Merge.
author Robert Clipsham <robert@octarineparrot.com>
date Tue, 08 Sep 2009 10:07:56 +0100
parents 54b3c1394d62
children
line wrap: on
line diff
--- a/dmd2/dsymbol.c	Tue Aug 25 21:35:43 2009 +0200
+++ b/dmd2/dsymbol.c	Tue Sep 08 10:07:56 2009 +0100
@@ -169,7 +169,7 @@
     return ident ? ident->toChars() : (char *)"__anonymous";
 }
 
-char *Dsymbol::toPrettyChars()
+const char *Dsymbol::toPrettyChars()
 {   Dsymbol *p;
     char *s;
     char *q;
@@ -452,10 +452,12 @@
     return FALSE;
 }
 
+#if DMDV2
 int Dsymbol::isOverloadable()
 {
     return 0;
 }
+#endif
 
 LabelDsymbol *Dsymbol::isLabel()		// is this a LabelDsymbol()?
 {
@@ -695,6 +697,7 @@
 
 /********************************* OverloadSet ****************************/
 
+#if DMDV2
 OverloadSet::OverloadSet()
     : Dsymbol()
 {
@@ -709,6 +712,7 @@
 {
     return "overloadset";
 }
+#endif
 
 
 /********************************* ScopeDsymbol ****************************/