1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-10 14:04:36 +00:00

fix: scope of json var, brining the %inc _inside_ the macro

This commit is contained in:
Allan Bowe
2021-01-03 22:35:56 +00:00
parent b4d97a063a
commit 45f858db15
4 changed files with 11 additions and 8 deletions

View File

@@ -21,9 +21,10 @@ for file in files:
with open(file) as infile:
for line in infile:
ml.write(" put '" + line.rstrip().replace("'","''") + " ';\n")
ml.write("run;\n")
ml.write("%mend;\n\n")
ml.write("%inc \"%sysfunc(pathname(work))/" + name + ".lua\";\n")
ml.write("run;\n\n")
ml.write("%inc \"%sysfunc(pathname(work))/" + name + ".lua\";\n\n")
ml.write("%mend;\n")
ml.close()
# prepare web files