nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Java FFI: intro NitObject for references to Nit objects from Java
[nit.git]
/
src
/
nitls.nit
diff --git
a/src/nitls.nit
b/src/nitls.nit
index
f875083
..
62fc09f
100644
(file)
--- a/
src/nitls.nit
+++ b/
src/nitls.nit
@@
-178,7
+178,10
@@
if opt_tree.value then
var pa = mp.mgroup
while pa != null and not pa.is_interesting do pa = pa.parent
ot.add(pa, mp)
var pa = mp.mgroup
while pa != null and not pa.is_interesting do pa = pa.parent
ot.add(pa, mp)
- if pa != null then mgroups.add pa
+ while pa != null do
+ mgroups.add pa
+ pa = pa.parent
+ end
end
for g in mgroups do
var pa = g.parent
end
for g in mgroups do
var pa = g.parent
@@
-193,7
+196,9
@@
end
if opt_source.value then
alpha_comparator.sort(mmodules)
for mp in mmodules do
if opt_source.value then
alpha_comparator.sort(mmodules)
for mp in mmodules do
- if opt_paths.value then
+ if opt_make.value then
+ print mp.filepath.escape_to_mk
+ else if opt_paths.value then
print mp.filepath.as(not null)
else
print "{mp.mgroup.full_name}{ot.display(mp)}"
print mp.filepath.as(not null)
else
print "{mp.mgroup.full_name}{ot.display(mp)}"