comparison dmd2/module.h @ 847:356e65836fb5

Merged DMD 2.021 frontend. Removed generated files from dmd/dmd2 dirs.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sat, 13 Dec 2008 16:14:37 +0100
parents f04dde6e882c
children 5f5e6eb790e7
comparison
equal deleted inserted replaced
846:bc982f1ad106 847:356e65836fb5
111 struct Escape *escapetable; // document comment escapes 111 struct Escape *escapetable; // document comment escapes
112 112
113 int doDocComment; // enable generating doc comments for this module 113 int doDocComment; // enable generating doc comments for this module
114 int doHdrGen; // enable generating header file for this module 114 int doHdrGen; // enable generating header file for this module
115 115
116 bool safe;
117
116 Module(char *arg, Identifier *ident, int doDocComment, int doHdrGen); 118 Module(char *arg, Identifier *ident, int doDocComment, int doHdrGen);
117 ~Module(); 119 ~Module();
118 120
119 static Module *load(Loc loc, Array *packages, Identifier *ident); 121 static Module *load(Loc loc, Array *packages, Identifier *ident);
120 122
183 185
184 struct ModuleDeclaration 186 struct ModuleDeclaration
185 { 187 {
186 Identifier *id; 188 Identifier *id;
187 Array *packages; // array of Identifier's representing packages 189 Array *packages; // array of Identifier's representing packages
190 bool safe;
188 191
189 ModuleDeclaration(Array *packages, Identifier *id); 192 ModuleDeclaration(Array *packages, Identifier *id, bool safe);
190 193
191 char *toChars(); 194 char *toChars();
192 }; 195 };
193 196
194 #endif /* DMD_MODULE_H */ 197 #endif /* DMD_MODULE_H */