fixed Verilog parser filename and line numbering issue with include files

This commit is contained in:
Johann Glaser 2013-08-21 09:20:59 +02:00
parent a99c224157
commit f352205635
1 changed files with 2 additions and 0 deletions

View File

@ -71,7 +71,9 @@ namespace VERILOG_FRONTEND {
"`file_pop"[^\n]*\n {
current_filename = fn_stack.back();
fn_stack.pop_back();
frontend_verilog_yyset_lineno(ln_stack.back());
ln_stack.pop_back();
}
"`file_notfound "[^\n]* {