flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [37/50] git commit: [flex-falcon] [refs/heads/master] - On windows machines the above coe produces "\" instead of "/" paths. Unfortunately if the first letter of a directory starts with an "u" I get "illegal unicode excape" errors on windows machines. Si
Date Wed, 06 Apr 2016 15:02:46 GMT
On windows machines the above coe produces "\" instead of "/" paths. Unfortunately if the first
letter of a directory starts with an "u" I get "illegal unicode excape" errors on windows
machines. Simply enforcing "/" instead of "\" resolves this problem.


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/b4fd1614
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/b4fd1614
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/b4fd1614

Branch: refs/heads/master
Commit: b4fd16147ba07da540a6baecc6c3164a5f83a9d9
Parents: 69a08de
Author: Christofer Dutz <christofer.dutz@codecentric.de>
Authored: Sat Mar 19 15:59:06 2016 +0100
Committer: Christofer Dutz <christofer.dutz@codecentric.de>
Committed: Sat Mar 19 15:59:06 2016 +0100

----------------------------------------------------------------------
 .../internal/as/codegen/UnknownTreePatternInputOutput.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b4fd1614/compiler/src/org/apache/flex/compiler/internal/as/codegen/UnknownTreePatternInputOutput.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/as/codegen/UnknownTreePatternInputOutput.java
b/compiler/src/org/apache/flex/compiler/internal/as/codegen/UnknownTreePatternInputOutput.java
index 416d761..f551331 100644
--- a/compiler/src/org/apache/flex/compiler/internal/as/codegen/UnknownTreePatternInputOutput.java
+++ b/compiler/src/org/apache/flex/compiler/internal/as/codegen/UnknownTreePatternInputOutput.java
@@ -231,7 +231,7 @@ class UnknownTreePatternInputOutput extends DefaultHandler2
         output.println("public class " + this.className);
         output.println("{");
         output.println();
-        output.println("    //  Patterns generated " + new java.util.Date().toString() +
" from " + src_file_name);
+        output.println("    //  Patterns generated " + new java.util.Date().toString() +
" from " + src_file_name.replaceAll("\\\\", "/"));
         output.println("    public static Map<ASTNodeID, ArrayList<UnknownTreeFinding.Template>
> allTemplates = new HashMap<ASTNodeID, ArrayList<UnknownTreeFinding.Template>>();");
 
         output.println("    static");


Mime
View raw message