diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2007-09-02 19:15:32 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2007-09-02 19:15:32 (GMT) |
commit | 6bedd287437d2091820129533cb44f56609d0991 (patch) | |
tree | 05d18b9500cfc4e613b19d0154b89ed18542a3ae /src/commentscan.l | |
parent | 115c6c02c3b246c525721aef9b1a43aeeb4666d5 (diff) | |
download | Doxygen-6bedd287437d2091820129533cb44f56609d0991.zip Doxygen-6bedd287437d2091820129533cb44f56609d0991.tar.gz Doxygen-6bedd287437d2091820129533cb44f56609d0991.tar.bz2 |
Release-1.5.3-20070902
Diffstat (limited to 'src/commentscan.l')
-rw-r--r-- | src/commentscan.l | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/commentscan.l b/src/commentscan.l index a91dc97..5db2db5 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -568,7 +568,9 @@ static QCString addFormula() formLabel.sprintf("\\form#%d",f->getId()); } int i; - for (i=0;i<formulaNewLines;i++) formLabel+='\n'; + for (i=0;i<formulaNewLines;i++) formLabel+="\\_fakenl"; // add fake newlines to + // keep the warnings + // correctly aligned. return formLabel; } @@ -690,7 +692,9 @@ static inline void setOutput(OutputContext ctx) current->briefLine = yyLineNr; } } - if (current->brief.isEmpty()) + if (current->brief.stripWhiteSpace().isEmpty()) // we only want one brief + // description even if multiple + // are given... { pOutputString = ¤t->brief; } @@ -794,6 +798,7 @@ LABELID [a-z_A-Z][a-z_A-Z0-9\-]* SCOPEID {ID}({ID}*{BN}*"::"{BN}*)*({ID}?) SCOPENAME "$"?(({ID}?{BN}*"::"{BN}*)*)((~{BN}*)?{ID}) MAILADR [a-z_A-Z0-9.+\-]+"@"[a-z_A-Z0-9\-]+("."[a-z_A-Z0-9\-]+)+[a-z_A-Z0-9\-]+ +RCSTAG "$"{ID}":"[^\n$]+"$" %option noyywrap |