File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1066,7 +1066,7 @@ parser_parse_for_statement_start (parser_context_t *context_p) /**< context */
1066
1066
{
1067
1067
/* Even though the scanning is failed, there might be valid statements
1068
1068
* inside the for statement which depend on scanner info blocks. */
1069
- scanner_release_next (context_p , sizeof (parser_for_statement_t ));
1069
+ scanner_release_next (context_p , sizeof (scanner_for_info_t ));
1070
1070
}
1071
1071
1072
1072
/* The prescanner couldn't find the second semicolon or the closing paranthesis. */
@@ -1097,7 +1097,7 @@ parser_parse_for_statement_start (parser_context_t *context_p) /**< context */
1097
1097
for_statement .expression_location = for_info_p -> expression_location ;
1098
1098
1099
1099
scanner_set_location (context_p , & for_info_p -> end_location );
1100
- scanner_release_next (context_p , sizeof (parser_for_statement_t ));
1100
+ scanner_release_next (context_p , sizeof (scanner_for_info_t ));
1101
1101
scanner_seek (context_p );
1102
1102
lexer_next_token (context_p );
1103
1103
You can’t perform that action at this time.
0 commit comments