fix %destructor of table_n

This commit is contained in:
root 2017-09-13 21:59:15 +08:00
parent 4e3be32ba0
commit 7da22a8bb1
2 changed files with 260 additions and 259 deletions

File diff suppressed because it is too large Load Diff

View File

@ -133,7 +133,8 @@ int yyerror(YYLTYPE* llocp, SQLParserResult* result, yyscan_t scanner, const cha
/*********************************
** Descrutor symbols
*********************************/
%destructor { } <fval> <ival> <uval> <bval> <order_type> <table_n>
%destructor { } <fval> <ival> <uval> <bval> <order_type>
%destructor { free( ($$.name) ); free( ($$.schema) ); } <table_n>
%destructor { free( ($$) ); } <sval>
%destructor {
if (($$) != nullptr) {