diff options
author | Rubén <RabsRincon@users.noreply.github.com> | 2017-12-12 13:24:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-12 13:24:10 +0100 |
commit | b3a5cf842f18706e1d5e608cff95e642e8ab7698 (patch) | |
tree | a7681defc0ba02b097d86ca0d59e1d09d0af42c2 /lib/compilers/pascal.js | |
parent | 0784799e086910c73b47deca8ce121096d44f5d4 (diff) | |
parent | f529022483877407e2f620f4f7fd031dfa777bc7 (diff) | |
download | compiler-explorer-b3a5cf842f18706e1d5e608cff95e642e8ab7698.tar.gz compiler-explorer-b3a5cf842f18706e1d5e608cff95e642e8ab7698.zip |
Merge branch 'master' into unification
Diffstat (limited to 'lib/compilers/pascal.js')
-rw-r--r-- | lib/compilers/pascal.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/compilers/pascal.js b/lib/compilers/pascal.js index 779c56a7f..e4f0fcbc0 100644 --- a/lib/compilers/pascal.js +++ b/lib/compilers/pascal.js @@ -44,8 +44,6 @@ function compileFPC(info, env, langId) { preProcessAsm(result.asm); } - demangler.buildOrderedCache(); - for (var j = 0; j < result.asm.length; ++j) result.asm[j].text = demangler.demangleIfNeeded(result.asm[j].text); @@ -66,11 +64,11 @@ function compileFPC(info, env, langId) { }; var saveDummyProjectFile = function (filename) { - fs.writeFile(filename, + fs.writeFileSync(filename, "program prog; " + "uses output in 'output.pas'; " + "begin " + - "end."); + "end.", function() {}); }; var preProcessBinaryAsm = function (input) { |