mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-18 18:22:07 +08:00
report parser errors via mdb_sql_error()
This commit is contained in:
@@ -88,6 +88,7 @@ int yywrap()
|
||||
void yyerror(char *s)
|
||||
{
|
||||
fprintf(stderr,"Error at Line : %s near %s\n", s, yytext);
|
||||
mdb_sql_error(_mdb_sql(NULL), "%s near %s", s, yytext);
|
||||
}
|
||||
#if 0
|
||||
int main(int argc, char **argv)
|
||||
|
Reference in New Issue
Block a user