commit | aab7cd5cc59c9af88bb5f1b7f73ab6f67ebdce93 | [log] [tgz] |
---|---|---|
author | Homer Hsing <homer.xing@intel.com> | Thu Sep 06 16:12:08 2012 +0800 |
committer | Damien Lespiau <damien.lespiau@intel.com> | Mon Mar 04 15:54:30 2013 +0000 |
tree | 7e4dbd38dbf05d9a6c983ab5f93acecf31ff415c | |
parent | 31401afe78e2a1a08fa89448ed2e4fa12760c64d [diff] |
close File yyin before calling yylex_destroy This patch makes sure file handler yyin is closed. yylex_destroy() calls yy_init_globals(), which reset yyin to 0. Therefore if we do not close yyin before yylex_destroy(), yyin will not be closed anymore.