From 09b96442921d161b5d969e39a6dbf633e211e6bb Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Mon, 27 Sep 2010 00:01:47 +0200 Subject: [PATCH] see #428 :: make identifiers unique for modules without module statement that are passed on command line; thanks SiegeLord --- gen/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/main.cpp b/gen/main.cpp index c857b1e6..9af0715f 100644 --- a/gen/main.cpp +++ b/gen/main.cpp @@ -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); }