see #428 :: make identifiers unique for modules without module statement that are passed on command line; thanks SiegeLord

This commit is contained in:
Moritz Warning
2010-09-27 00:01:47 +02:00
parent ba275942cf
commit 09b9644292

View File

@@ -770,7 +770,7 @@ LDC_TARGETS
goto Linvalid;
}
id = new Identifier(name, 0);
id = Lexer::idPool(name);
m = new Module((char *) files.data[i], id, global.params.doDocComments, global.params.doHdrGeneration);
modules.push(m);
}