commit | 0b42e49c4c4f22090445c9f298669673cd91b977 | [log] [tgz] |
---|---|---|
author | Garrett Cooper <yanegomi@gmail.com> | Wed Feb 23 00:19:54 2011 -0800 |
committer | Garrett Cooper <yanegomi@gmail.com> | Wed Feb 23 00:19:54 2011 -0800 |
tree | fe7842534d4a8182ef1c046dfa5a3bca15ba03e0 | |
parent | 6ea8c5bcc68371c15538a78b720f565931cb20d1 [diff] |
Fix pan compile on some versions of flex/lex. "%option nolex-compat" can silence warning, but also make the global variable "yylineno" undeclared. The following patch add "%option yylineno" to make the global variable "yylineno" to be accessed. Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>