nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d15b53
)
ModelBuilder modifications for android resources
author
Romain Chanoir
<chanoir.romain@courrier.uqam.ca>
Tue, 8 Jul 2014 01:32:56 +0000
(21:32 -0400)
committer
Romain Chanoir
<chanoir.romain@courrier.uqam.ca>
Tue, 8 Jul 2014 21:18:39 +0000
(17:18 -0400)
Signed-off-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>
src/modelbuilder.nit
patch
|
blob
|
history
diff --git
a/src/modelbuilder.nit
b/src/modelbuilder.nit
index
3dbd389
..
bb5d588
100644
(file)
--- a/
src/modelbuilder.nit
+++ b/
src/modelbuilder.nit
@@
-64,7
+64,7
@@
redef class ToolContext
mainmodule = mmodules.first
else
# We need a main module, so we build it by importing all modules
- mainmodule = new MModule(modelbuilder.model, null, mmodules.first.name, new Location(null, 0, 0, 0, 0))
+ mainmodule = new MModule(modelbuilder.model, null, mmodules.first.name, new Location(mmodules.first.location.file, 0, 0, 0, 0))
mainmodule.set_imported_mmodules(mmodules)
end
for phase in phases_list do