Skip to content

Commit a8dd526

Browse files
authored
fix(read_rtf): 未声明局部变量 rtf_ref, rtf_loc 导致被 %compare_rtf_with_dataset 调用时未删除临时文件 (#84)
1 parent 6244074 commit a8dd526

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

src/gb18030/read_rtf.sas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ options cmplib = sasuser.func;
2727
%end;
2828

2929
/*声明局部变量*/
30-
%local i;
30+
%local i rtf_ref rtf_loc;
3131

3232
/*声明全局变量*/
3333
%if not %symexist(readrtf_exit_with_error) %then %do;

src/gbk/read_rtf.sas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ options cmplib = sasuser.func;
2727
%end;
2828

2929
/*声明局部变量*/
30-
%local i;
30+
%local i rtf_ref rtf_loc;
3131

3232
/*声明全局变量*/
3333
%if not %symexist(readrtf_exit_with_error) %then %do;

src/utf16/read_rtf.sas

32 Bytes
Binary file not shown.

src/utf8/read_rtf.sas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ options cmplib = sasuser.func;
2727
%end;
2828

2929
/*声明局部变量*/
30-
%local i;
30+
%local i rtf_ref rtf_loc;
3131

3232
/*声明全局变量*/
3333
%if not %symexist(readrtf_exit_with_error) %then %do;

0 commit comments

Comments
 (0)