diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/makamys/neodymium/util/Preprocessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/makamys/neodymium/util/Preprocessor.java b/src/main/java/makamys/neodymium/util/Preprocessor.java index 8ee9229..d2fb0ba 100644 --- a/src/main/java/makamys/neodymium/util/Preprocessor.java +++ b/src/main/java/makamys/neodymium/util/Preprocessor.java @@ -5,7 +5,7 @@ import java.util.Set; public class Preprocessor { public static String preprocess(String text, Set<String> defines) { - String[] lines = text.replaceAll("\\r\\n", "\\n").split("\\n"); + String[] lines = text.replaceAll("\\r\\n", "\n").split("\\n"); IfElseBlockStatus ifElseBlockStatus = IfElseBlockStatus.NONE; boolean ifElseConditionMet = false; |