summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-12-05 18:32:47 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-12-05 18:32:47 (GMT)
commit9447c47c5f569dec436e0facef8c0d99fd12943f (patch)
treefe6c08baacd1e8f671e21abc844a3a22fa8b53d0
parent7bcd67f4affa7c3ce2ba6f652c893488952396a7 (diff)
downloadDoxygen-9447c47c5f569dec436e0facef8c0d99fd12943f.zip
Doxygen-9447c47c5f569dec436e0facef8c0d99fd12943f.tar.gz
Doxygen-9447c47c5f569dec436e0facef8c0d99fd12943f.tar.bz2
Wrong counting of lines during VHDL code output
The code coloring of the output stops at an early stage, resulting in incorrect HTML / LaTeX / ... output, due to a double counting of the lines in case of `STRIP_CODE_COMMENTS=NO`. Problem is visible when looking at the documentation of the VHDL documentation block in the manual for VHDL code in e.g. HTML and LaTex (Note problem occurs in the 1.8.15 master, not in the 1.8.14 version).
-rw-r--r--src/vhdlcode.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdlcode.l b/src/vhdlcode.l
index ee0731f..aa15183 100644
--- a/src/vhdlcode.l
+++ b/src/vhdlcode.l
@@ -1505,7 +1505,7 @@ XILINX "INST"|"NET"|"PIN"|"BLKNM"|"BUFG"|"COLLAPSE"|"CPLD"|"COMPGRP"|"CONFI
{
codifyLines(text,0,FALSE,TRUE);
}
- g_yyLineNr++; // skip complete line
+ else g_yyLineNr++; // skip complete line, but count line
}
else // normal comment
{