aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers')
-rw-r--r--lib/compilers/WSL-CL.js6
-rw-r--r--lib/compilers/Wine-CL.js6
-rw-r--r--lib/compilers/pascal.js6
3 files changed, 3 insertions, 15 deletions
diff --git a/lib/compilers/WSL-CL.js b/lib/compilers/WSL-CL.js
index e0272be87..1a3e37ec1 100644
--- a/lib/compilers/WSL-CL.js
+++ b/lib/compilers/WSL-CL.js
@@ -68,11 +68,7 @@ function compileCl(info, env) {
return false;
};
- compile.getArgumentParser = function () {
- return function (compiler) {
- return compiler;
- }
- };
+ compile.getArgumentParser = () => (compiler) => compiler;
compile.postProcessAsm = function(result) {
return RunCLDemangler(this, result);
diff --git a/lib/compilers/Wine-CL.js b/lib/compilers/Wine-CL.js
index 82422b45e..c2cd4eaa3 100644
--- a/lib/compilers/Wine-CL.js
+++ b/lib/compilers/Wine-CL.js
@@ -48,11 +48,7 @@ function compileCl(info, env) {
return false;
};
- compile.getArgumentParser = function () {
- return function (compiler) {
- return compiler;
- }
- };
+ compile.getArgumentParser = () => (compiler) => compiler;
compile.postProcessAsm = function(result) {
return RunCLDemangler(this, result);
diff --git a/lib/compilers/pascal.js b/lib/compilers/pascal.js
index 9799d0ebc..3fa0d3821 100644
--- a/lib/compilers/pascal.js
+++ b/lib/compilers/pascal.js
@@ -188,11 +188,7 @@ function compileFPC(info, env) {
originalExecBinary(executable, result, maxSize);
};
- compiler.getArgumentParser = function () {
- return function (compiler) {
- return compiler;
- }
- };
+ compiler.getArgumentParser = () => (compiler) => compiler;
if (info.unitTestMode) {
compiler.initialise();