projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a99c224
)
fixed Verilog parser filename and line numbering issue with include files
author
Johann Glaser
<Johann.Glaser@gmx.at>
Wed, 21 Aug 2013 07:20:59 +0000
(09:20 +0200)
committer
Johann Glaser
<Johann.Glaser@gmx.at>
Wed, 21 Aug 2013 07:20:59 +0000
(09:20 +0200)
frontends/verilog/lexer.l
patch
|
blob
|
history
diff --git
a/frontends/verilog/lexer.l
b/frontends/verilog/lexer.l
index bdd01cae52774f379e3c45569328fda24957a258..6b9c9e4ccc0e38844d5ab48bf49a1f6cf0b11dd1 100644
(file)
--- a/
frontends/verilog/lexer.l
+++ b/
frontends/verilog/lexer.l
@@
-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]* {