diff options
| author | AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> | 2021-11-20 02:35:23 +0000 | 
|---|---|---|
| committer | AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> | 2021-11-20 02:35:23 +0000 | 
| commit | f4c76ea5acaf2213289cd12003d9ec6a7eeae9ca (patch) | |
| tree | 6b48a0e7bdd9d75e523f89d6f24bd6265e923dd1 /src | |
| parent | 68f651f90ac9bb42e6fcb461f72f82ee74df1fdd (diff) | |
| download | esotericFORTRAN-f4c76ea5acaf2213289cd12003d9ec6a7eeae9ca.tar.gz esotericFORTRAN-f4c76ea5acaf2213289cd12003d9ec6a7eeae9ca.zip | |
Added newlines between different print statements
Diffstat (limited to 'src')
| -rw-r--r-- | src/Compiler/ExecuteC.java | 2 | ||||
| -rw-r--r-- | src/Compiler/Translator.java | 1 | 
2 files changed, 2 insertions, 1 deletions
| diff --git a/src/Compiler/ExecuteC.java b/src/Compiler/ExecuteC.java index 6240d04..035813a 100644 --- a/src/Compiler/ExecuteC.java +++ b/src/Compiler/ExecuteC.java @@ -91,7 +91,7 @@ public class ExecuteC {              String s = null;              String output="";              while ((s = stdInput.readLine()) != null) { -                output+=s; +                output+=s+"\n";              }              return output;          } catch (IOException e){ diff --git a/src/Compiler/Translator.java b/src/Compiler/Translator.java index c5c5bc7..50430f2 100644 --- a/src/Compiler/Translator.java +++ b/src/Compiler/Translator.java @@ -113,6 +113,7 @@ public class Translator{              }              values+=evaluateExpression(expr);          } +        types+="\\n";          CCode.add("printf(\""+types+"\","+values+");");        } | 
