This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
commit 7700af48731706e740b0a6e42ece08a2885bd1a8 Author: Alex Harui <[email protected]> AuthorDate: Mon Sep 10 14:53:39 2018 -0700 SWF compiler was not differentiating between warnings and errors --- .../src/main/java/org/apache/royale/compiler/clients/MXMLC.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/compiler/src/main/java/org/apache/royale/compiler/clients/MXMLC.java b/compiler/src/main/java/org/apache/royale/compiler/clients/MXMLC.java index 8e4268d..497997e 100644 --- a/compiler/src/main/java/org/apache/royale/compiler/clients/MXMLC.java +++ b/compiler/src/main/java/org/apache/royale/compiler/clients/MXMLC.java @@ -121,9 +121,10 @@ public class MXMLC implements FlexTool // Therefore the following enum values must be non-negative. SUCCESS(0), PRINT_HELP(1), - FAILED_WITH_ERRORS(2), - FAILED_WITH_EXCEPTIONS(3), - FAILED_WITH_CONFIG_ERRORS(4); + FAILED_WITH_PROBLEMS(2), + FAILED_WITH_ERRORS(3), + FAILED_WITH_EXCEPTIONS(4), + FAILED_WITH_CONFIG_ERRORS(5); ExitCode(int code) {
