diff options
author | AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> | 2021-12-14 17:34:30 +0000 |
---|---|---|
committer | AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> | 2021-12-14 17:34:30 +0000 |
commit | 2c7c11bffc7a6009a544d7838cc4f58bd723b79f (patch) | |
tree | d291a1d61c6b298442155017df4218ebd365920f /src/Compiler/Utils.java | |
parent | b85a03d829d16ce053526ff46f19e19185fad992 (diff) | |
parent | 659e0e2c125772600079854bef65806f65a5a358 (diff) | |
download | esotericFORTRAN-2c7c11bffc7a6009a544d7838cc4f58bd723b79f.tar.gz esotericFORTRAN-2c7c11bffc7a6009a544d7838cc4f58bd723b79f.zip |
Merge branch 'main' of https://github.com/AlfieEagleton/EsotericProjectGroup12
Diffstat (limited to 'src/Compiler/Utils.java')
-rw-r--r-- | src/Compiler/Utils.java | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/Compiler/Utils.java b/src/Compiler/Utils.java index d0206c1..b19320e 100644 --- a/src/Compiler/Utils.java +++ b/src/Compiler/Utils.java @@ -27,10 +27,17 @@ public class Utils { public static void main(String[] args) throws Exception { String currentPath = new java.io.File(".").getCanonicalPath(); - System.out.println("Current dir:" + currentPath); - String helpfile = readFile("Compiler/helpfile.txt"); - System.out.println(helpfile); + System.out.println("Util class testing"); + + try { + String helpfile = readFile("Compiler/helpfile.txt"); + System.out.println("File read success"); + } + catch (Exception e) { + System.out.println("File read failure"); + } + } |