nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
frontend: handle multi-iterators
[nit.git]
/
src
/
frontend
/
simple_misc_analysis.nit
diff --git
a/src/frontend/simple_misc_analysis.nit
b/src/frontend/simple_misc_analysis.nit
index
f61b10a
..
4934e1a
100644
(file)
--- a/
src/frontend/simple_misc_analysis.nit
+++ b/
src/frontend/simple_misc_analysis.nit
@@
-172,11
+172,17
@@
end
redef class AForExpr
redef fun after_simple_misc(v)
do
redef class AForExpr
redef fun after_simple_misc(v)
do
- n_expr.warn_parentheses(v)
v.check_do_expr(n_block)
end
end
v.check_do_expr(n_block)
end
end
+redef class AForGroup
+ redef fun after_simple_misc(v)
+ do
+ n_expr.warn_parentheses(v)
+ end
+end
+
redef class AWithExpr
redef fun after_simple_misc(v)
do
redef class AWithExpr
redef fun after_simple_misc(v)
do