nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56cdf6e
)
nitls: option -M escapes characters in paths
author
Jean Privat
<jean@pryen.org>
Thu, 24 May 2018 14:02:40 +0000
(10:02 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 24 May 2018 14:02:40 +0000
(10:02 -0400)
Close #2699
Signed-off-by: Jean Privat <jean@pryen.org>
src/nitls.nit
patch
|
blob
|
history
diff --git
a/src/nitls.nit
b/src/nitls.nit
index
4321214
..
62fc09f
100644
(file)
--- a/
src/nitls.nit
+++ b/
src/nitls.nit
@@
-196,7
+196,9
@@
end
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)}"