Skip to content

Commit a3e66dc

Browse files
committed
Update Aspectator and test cases
1 parent c8158da commit a3e66dc

10 files changed

+11
-11
lines changed

tests/aspect/info_call_all.aspect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
info: call($ $(..)) {
2-
$fprintf<"work/info.txt","%s %s %s %s\n",$func_context_path,$func_context_name,$func_name,$call_line>
2+
$fprintf<"work/info.txt","%s %s %s %d\n",$func_context_path,$func_context_name,$func_name,$call_line>
33
}

tests/aspect/info_call_args.aspect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
info: call($ $($)) {
2-
$fprintf<"work/info.txt","%s %s %s %s arg1='%s'\n",$func_context_path,$func_context_name,$func_name,$call_line,$arg_value1>
2+
$fprintf<"work/info.txt","%s %s %s %d arg1='%s'\n",$func_context_path,$func_context_name,$func_name,$call_line,$arg_value1>
33
}

tests/aspect/info_callp_all.aspect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
info: callp($ $(..)) {
2-
$fprintf<"work/info.txt","%s %s %s %s\n",$func_context_path,$func_context_name,$func_ptr_name,$call_line>
2+
$fprintf<"work/info.txt","%s %s %s %d\n",$func_context_path,$func_context_name,$func_ptr_name,$call_line>
33
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
info: declare_func($ $(..)) {
2-
$fprintf<"work/info.txt","%s %s %s %s\n",$path,$func_name,$decl_line,$signature>
2+
$fprintf<"work/info.txt","%s %s %d %s\n",$path,$func_name,$decl_line,$signature>
33
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
info: define($) {
2-
$fprintf<"work/info.txt","%s %s %s\n",$path,$macro_name,$line>
2+
$fprintf<"work/info.txt","%s %s %d\n",$path,$macro_name,$line>
33
}
44

55
info: define($(..)) {
6-
$fprintf<"work/info.txt","%s %s %s\n",$path,$macro_name,$line>
6+
$fprintf<"work/info.txt","%s %s %d\n",$path,$macro_name,$line>
77
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
info: execution($ $(..)) {
2-
$fprintf<"work/info.txt","%s %s %s %s\n",$path,$func_name,$decl_line,$signature>
2+
$fprintf<"work/info.txt","%s %s %d %s\n",$path,$func_name,$decl_line,$signature>
33
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
info: use_func($ $(..)) {
2-
$fprintf<"work/info.txt","%s %s %s %s\n",$func_context_path,$func_context_name,$func_name,$use_line>
2+
$fprintf<"work/info.txt","%s %s %s %d\n",$func_context_path,$func_context_name,$func_name,$use_line>
33
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
info: use_var($ $) {
2-
$fprintf<"work/info.txt","%s %s %s %s\n",$func_context_path,$func_context_name,$var_name,$use_line>
2+
$fprintf<"work/info.txt","%s %s %s %d\n",$func_context_path,$func_context_name,$var_name,$use_line>
33
}

tests/aspect/makedirs.aspect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
info: call($ $(..)) {
2-
$fprintf<"work/" $path,"%s %s\n",$func_name,$call_line>
2+
$fprintf<"work/" $path,"%s %d\n",$func_name,$call_line>
33
}

0 commit comments

Comments
 (0)