You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/03/19 15:59:15 UTC
git commit: [flex-falcon] [refs/heads/develop] - 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 en
Repository: flex-falcon
Updated Branches:
refs/heads/develop 69a08def0 -> b4fd16147
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/develop
Commit: b4fd16147ba07da540a6baecc6c3164a5f83a9d9
Parents: 69a08de
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Sat Mar 19 15:59:06 2016 +0100
Committer: Christofer Dutz <ch...@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");