summaryrefslogtreecommitdiffstats
path: root/src/vhdlscanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdlscanner.l')
-rw-r--r--src/vhdlscanner.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdlscanner.l b/src/vhdlscanner.l
index d757ea2..fb9b9c3 100644
--- a/src/vhdlscanner.l
+++ b/src/vhdlscanner.l
@@ -1016,9 +1016,9 @@ void isVhdlDocPending()
{
if (!str_doc.pending)
return;
-
+ str_doc.pending=FALSE;
+ oldEntry=0; // prevents endless recursion
iDocLine=str_doc.iDocLine;
handleCommentBlock(str_doc.doc,str_doc.brief);
iDocLine=-1;
- str_doc.pending=FALSE;
}