We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ae29cc commit 9e84301Copy full SHA for 9e84301
frontends/basic/basiclang.c
@@ -1015,7 +1015,9 @@ doBasicTransform(AST **astptr, bool transformFuncall)
1015
AST *seq = NULL;
1016
AST *lineptr = NULL;
1017
AST *read_lineptr;
1018
+ ASTReportInfo saveinfo;
1019
1020
+ AstReportAs(ast, &saveinfo);
1021
if (handle) {
1022
lineptr = AstTempLocalVariable("_tmp_", ast_type_string);
1023
read_lineptr = AstAssign(lineptr,
@@ -1045,6 +1047,7 @@ doBasicTransform(AST **astptr, bool transformFuncall)
1045
1047
}
1046
1048
1049
*astptr = ast = seq;
1050
+ AstReportDone(&saveinfo);
1051
1052
break;
1053
case AST_PRINT:
0 commit comments