nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
compiler: global compiler escape the module name
[nit.git]
/
src
/
compiler
/
global_compiler.nit
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