nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e873e9
)
nitls: bind the option --keep-going on ToolContext::keep_going
author
Jean Privat
<jean@pryen.org>
Fri, 28 Nov 2014 02:54:55 +0000
(21:54 -0500)
committer
Jean Privat
<jean@pryen.org>
Fri, 28 Nov 2014 02:54:55 +0000
(21:54 -0500)
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
54320cc
..
cde9656
100644
(file)
--- a/
src/nitls.nit
+++ b/
src/nitls.nit
@@
-73,6
+73,8
@@
if sum > 1 then
exit 1
end
+tc.keep_going = opt_keep.value
+
var model = new Model
var mb = new ModelBuilder(model, tc)
@@
-106,7
+108,7
@@
else
for a in files do
var mp = mb.identify_file(a)
if mp == null then
- if not opt_keep.value then tc.check_errors
+ tc.check_errors
end
end
end