comparison dmd/Parser.d @ 178:e3afd1303184

Many small bugs fixed Made all classes derive from TObject to detect memory leaks (functionality is disabled for now) Began work on overriding backend memory allocations (to avoid memory leaks)
author korDen
date Sun, 17 Oct 2010 07:42:00 +0400
parents af1bebfd96a4
children cd48cb899aee
comparison
equal deleted inserted replaced
177:1475fd394c9e 178:e3afd1303184
219 Loc endloc; // set to location of last right curly 219 Loc endloc; // set to location of last right curly
220 int inBrackets; // inside [] of array index or slice 220 int inBrackets; // inside [] of array index or slice
221 221
222 this(Module module_, ubyte* base, uint length, int doDocComment) 222 this(Module module_, ubyte* base, uint length, int doDocComment)
223 { 223 {
224 register();
224 super(module_, base, 0, length, doDocComment, 0); 225 super(module_, base, 0, length, doDocComment, 0);
225 //printf("Parser.Parser()\n"); 226 //printf("Parser.Parser()\n");
226 linkage = LINK.LINKd; 227 linkage = LINK.LINKd;
227 //nextToken(); // start up the scanner 228 //nextToken(); // start up the scanner
228 } 229 }