nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cc4e47
)
compiler: global compiler escape the module name
author
Jean Privat
<jean@pryen.org>
Mon, 10 Nov 2014 21:27:02 +0000
(16:27 -0500)
committer
Jean Privat
<jean@pryen.org>
Tue, 11 Nov 2014 03:09:49 +0000
(22:09 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>
src/compiler/global_compiler.nit
patch
|
blob
|
history
diff --git
a/src/compiler/global_compiler.nit
b/src/compiler/global_compiler.nit
index
113b549
..
510b1ac
100644
(file)
--- a/
src/compiler/global_compiler.nit
+++ b/
src/compiler/global_compiler.nit
@@
-116,7
+116,7
@@
class GlobalCompiler
init
do
- var file = new_file("{mainmodule.name}.nitgg")
+ var file = new_file("{mainmodule.c_name}.nitgg")
self.header = new CodeWriter(file)
self.live_primitive_types = new Array[MClassType]
for t in runtime_type_analysis.live_types do