Skip to content

Commit

Permalink
show buffered line along with DB parse error
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavidsaver committed Jun 27, 2024
1 parent 772c10d commit 255725f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/database/src/ioc/dbStatic/dbYacc.y
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ static int yyerror(char *str)
dbIncludePrint();
yyFailed = TRUE;
}
fprintf(stderr, "\n %d | %s\n", pinputFileNow->line_num, my_buffer);
return(0);
}
static long pvt_yy_parse(void)
Expand Down

0 comments on commit 255725f

Please sign in to comment.