diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2009-03-04 21:11:18 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2009-03-04 21:11:18 (GMT) |
commit | aa9c531961aea00c8d9c139de3c48844f11dc9f1 (patch) | |
tree | ade91348b3d7d8806a09659790655b697c1f4eea /src/vhdlscanner.l | |
parent | 27b5dd5b526154944bb1997fb7a592343d124595 (diff) | |
download | Doxygen-aa9c531961aea00c8d9c139de3c48844f11dc9f1.zip Doxygen-aa9c531961aea00c8d9c139de3c48844f11dc9f1.tar.gz Doxygen-aa9c531961aea00c8d9c139de3c48844f11dc9f1.tar.bz2 |
Release-1.5.8-20090304
Diffstat (limited to 'src/vhdlscanner.l')
-rw-r--r-- | src/vhdlscanner.l | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdlscanner.l b/src/vhdlscanner.l index eb435b5..cedf780 100644 --- a/src/vhdlscanner.l +++ b/src/vhdlscanner.l @@ -1426,6 +1426,10 @@ ALLID [^;()\t ] line=line.left(pos); } comment.stripWhiteSpace(); + // must subtract "(" and ")" in comments because they are used for determining the + // end of a port/generic construct + openCount-=comment.contains('('); + closeCount-=comment.contains(')'); if (!comment.stripPrefix("!")) // not a special comment { comment.resize(0); |