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;