File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ namespace sarif {
66
66
if (lineInDescriptor.empty () || lineInDescriptor[0 ] == ' #' )
67
67
continue ;
68
68
if (isspace (lineInDescriptor[0 ])) {
69
- if (key == " Stack " ) {
69
+ if (key == " ExecutionStack " ) {
70
70
const std::regex stack_regex (
71
- R"regex( \s+#(.*) in ([^ ]*) [(][^)]*[)] at ([^:]*):(\d+))regex" );
71
+ R"regex( \s+#(.*) in ([^ ]*)[(][^)]*[)] at ([^:]*):(\d+))regex" );
72
72
std::smatch stack_match;
73
73
if (!std::regex_match (lineInDescriptor, stack_match, stack_regex)) {
74
74
LOG_S (ERROR) << " wrong `Stack` line: " << lineInDescriptor;
@@ -129,7 +129,7 @@ namespace sarif {
129
129
if (pos == std::string::npos) {
130
130
LOG_S (ERROR) << " no key:" << lineInDescriptor;
131
131
} else {
132
- if (key == " Stack " ) {
132
+ if (key == " ExecutionStack " ) {
133
133
// Check stack validity
134
134
if (firstCallInStack) {
135
135
LOG_S (ERROR) << " no visible stack in descriptor:" << descriptor;
@@ -147,7 +147,7 @@ namespace sarif {
147
147
result[" kind" ] = " fail" ;
148
148
} else if (key == ERROR_ID_KEY) {
149
149
result[" ruleId" ] = value;
150
- } else if (key == " Stack " ) {
150
+ } else if (key == " ExecutionStack " ) {
151
151
stackLocations = json ();
152
152
codeFlowsLocations = json ();
153
153
} else if (key == TEST_FILE_KEY) {
You can’t perform that action at this time.
0 commit comments