@sasjs/core 4.27.4 → 4.27.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -231,7 +231,7 @@
231
231
  %do i=1 %to &numcols;
232
232
  %if &i>1 %then "," ;
233
233
  %if &action=OBJ %then """&&name&i"":" ;
234
- &&name&i
234
+ "&&name&i"n /* name literal for reserved variable names */
235
235
  %end;
236
236
  %if &action=ARR %then "]" ; %else "}" ; ;
237
237
  /* now write the long strings to _webout 1 byte at a time */
@@ -264,7 +264,7 @@ data _null_;
264
264
  put ' %do i=1 %to &numcols; ';
265
265
  put ' %if &i>1 %then "," ; ';
266
266
  put ' %if &action=OBJ %then """&&name&i"":" ; ';
267
- put ' &&name&i ';
267
+ put ' "&&name&i"n /* name literal for reserved variable names */ ';
268
268
  put ' %end; ';
269
269
  put ' %if &action=ARR %then "]" ; %else "}" ; ; ';
270
270
  put ' /* now write the long strings to _webout 1 byte at a time */ ';
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "devDependencies": {
36
36
  "@sasjs/cli": "3.13.0"
37
37
  },
38
- "version": "4.27.4"
38
+ "version": "4.27.7"
39
39
  }
@@ -266,7 +266,7 @@ data _null_;
266
266
  put ' %do i=1 %to &numcols; ';
267
267
  put ' %if &i>1 %then "," ; ';
268
268
  put ' %if &action=OBJ %then """&&name&i"":" ; ';
269
- put ' &&name&i ';
269
+ put ' "&&name&i"n /* name literal for reserved variable names */ ';
270
270
  put ' %end; ';
271
271
  put ' %if &action=ARR %then "]" ; %else "}" ; ; ';
272
272
  put ' /* now write the long strings to _webout 1 byte at a time */ ';
@@ -408,7 +408,7 @@ data _null_;
408
408
  put ' %do i=1 %to &numcols; ';
409
409
  put ' %if &i>1 %then "," ; ';
410
410
  put ' %if &action=OBJ %then """&&name&i"":" ; ';
411
- put ' &&name&i ';
411
+ put ' "&&name&i"n /* name literal for reserved variable names */ ';
412
412
  put ' %end; ';
413
413
  put ' %if &action=ARR %then "]" ; %else "}" ; ; ';
414
414
  put ' /* now write the long strings to _webout 1 byte at a time */ ';
@@ -34,8 +34,8 @@
34
34
  %if &platform=SASJS %then %do;
35
35
  %ms_getfile(&loc..sas, outref=&outref)
36
36
  %end;
37
- %else %if &platform=SAS9 %then %do;
38
- %mm_getstpcode(tree=&loc,outloc=&outref)
37
+ %else %if &platform=SAS9 or &platform=SASMETA %then %do;
38
+ %mm_getstpcode(tree=&loc,outref=&outref)
39
39
  %end;
40
40
  %else %if &platform=SASVIYA %then %do;
41
41
  /* extract name & path from &loc */