After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 742151 - Bogus warning: citelist: Unexpected new line character
Bogus warning: citelist: Unexpected new line character
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.9-GIT
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2014-12-31 13:19 UTC by Роман Донченко
Modified: 2015-01-04 13:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (973 bytes, patch)
2014-12-31 13:21 UTC, Роман Донченко
none Details | Review

Description Роман Донченко 2014-12-31 13:19:28 UTC
How to reproduce:

1) Download the .bib file from here: http://dblp.uni-trier.de/rec/bibtex/conf/cvpr/BenensonMTG12

2) Create test.dox with the following contents:

/**

\mainpage Main

\cite DBLP:conf/cvpr/BenensonMTG12

*/

3) Create a default Doxyfile and set CITE_BIB_FILES to BenensonMTG12.bib.

4) Run "doxygen Doxyfile". It will print a warning:

citelist:4: warning: Unexpected new line character

I believe the cause of this warning is that the regexes in doctokenizer.l disallow newlines within HTML comments. Since HTML comments are, in fact, multiline, I propose the attached patch (which does fix the warning).
Comment 1 Роман Донченко 2014-12-31 13:21:20 UTC
Created attachment 293519 [details] [review]
Proposed patch
Comment 2 Dimitri van Heesch 2015-01-04 09:39:52 UTC
Thanks, I'll include the patch in the next GIT update.
Comment 3 Dimitri van Heesch 2015-01-04 13:19:39 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.9.1. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information 
that you think can be relevant (preferrably in the form of a self-contained example).