phase: continue the phase if errors occur.
authorJean Privat <jean@pryen.org>
Thu, 4 Jun 2015 02:32:21 +0000 (22:32 -0400)
committerJean Privat <jean@pryen.org>
Fri, 5 Jun 2015 19:33:23 +0000 (15:33 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/phase.nit

index 5f0faf1..682d23e 100644 (file)
@@ -115,7 +115,6 @@ redef class ToolContext
                                phase.process_nmodule(nmodule)
                                if errcount != self.error_count then
                                        self.check_errors
-                                       break
                                end
                                errcount = self.error_count
                                for nclassdef in nmodule.n_classdefs do
@@ -128,7 +127,6 @@ redef class ToolContext
                                end
                                if errcount != self.error_count then
                                        self.check_errors
-                                       break
                                end
                                for na in vannot.annotations do
                                        var p = na.parent
@@ -138,7 +136,6 @@ redef class ToolContext
                                end
                                if errcount != self.error_count then
                                        self.check_errors
-                                       break
                                end
                        end
                        self.check_errors