From 3e313b06a96aa6829578b1dd219136de4f916821 Mon Sep 17 00:00:00 2001 From: Allan Bowe Date: Mon, 21 Jun 2021 17:25:58 +0300 Subject: [PATCH] fix: adding mend in python lua build --- all.sas | 2 +- build.py | 2 +- lua/ml_json.sas | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/all.sas b/all.sas index e49eb9e..634d7a1 100644 --- a/all.sas +++ b/all.sas @@ -18333,4 +18333,4 @@ run; %inc "%sysfunc(pathname(work))/ml_json.lua"; -%mend; +%mend ml_json; diff --git a/build.py b/build.py index 96b5377..61e88be 100755 --- a/build.py +++ b/build.py @@ -23,7 +23,7 @@ for file in files: ml.write(" put '" + line.rstrip().replace("'","''") + " ';\n") ml.write("run;\n\n") ml.write("%inc \"%sysfunc(pathname(work))/" + name + ".lua\";\n\n") - ml.write("%mend;\n") + ml.write("%mend " + name + ";\n") ml.close() diff --git a/lua/ml_json.sas b/lua/ml_json.sas index ad01538..cf2bf02 100644 --- a/lua/ml_json.sas +++ b/lua/ml_json.sas @@ -391,4 +391,4 @@ run; %inc "%sysfunc(pathname(work))/ml_json.lua"; -%mend; +%mend ml_json;