www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - dmd/src/dmd/arraytypes.h ?

reply Gregor Richards <Richards codu.org> writes:
I've been attempting to iteratively patch GDC up to DMD-154 (not sure if 
I actually can, but I can certainly try!), but I ran into an issue.  At 
DMD-150, DMD apparently gained a file called arraytypes.h, but this file 
isn't included in the source archive.  It's #included by several .c 
files.  I'm fairly sure that it's supposed to be there (that is, it's a 
frontend file, etc), and it probably just wasn't added to some script.

Long story short: Walter (or anyone else with access): Can you add 
dmd/arraytypes.h to the source as distributed in DMD?  Or if I'm 
mistaken and it's not supposed to be included, explain briefly its 
purpose and interface?

Thanks for any response!

  - Gregor Richards

PS: I'm not positive that arraytypes.h is the only issue, but it blocked 
compilation and I didn't try to manually trace all dependencies, so I 
don't know what else might come up.
Apr 26 2006
parent Walter Bright <newshound digitalmars.com> writes:
Gregor Richards wrote:
 Long story short: Walter (or anyone else with access): Can you add 
 dmd/arraytypes.h to the source as distributed in DMD?  Or if I'm 
 mistaken and it's not supposed to be included, explain briefly its 
 purpose and interface?

Sure. Here it is, for now: ----------------------------
 // Copyright (c) 2006 by Digital Mars
 // All Rights Reserved
 // written by Walter Bright
 // www.digitalmars.com
 // License for redistribution is by either the Artistic License
 // in artistic.txt, or the GNU General Public License in gnu.txt.
 // See the included readme.txt for details.
 
 #ifndef DMD_ARRAYTYPES_H
 #define DMD_ARRAYTYPES_H
 
 #ifdef __DMC__
 #pragma once
 #endif /* __DMC__ */
 
 
 #include "root.h"
 
 struct Expression;
 struct Statement;
 struct BaseClass;
 struct TemplateParameter;
 
 struct TemplateParameters : Array { };
 
 struct Expressions : Array { };
 
 struct Statements : Array { };
 
 struct BaseClasses : Array { };
 
 struct ClassDeclarations : Array { };
 
 struct Dsymbols : Array { };
 
 struct Objects : Array { };
 
 #endif

Apr 26 2006