diff options
author | albert-github <albert.tests@gmail.com> | 2018-07-10 13:11:10 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-07-10 13:11:10 (GMT) |
commit | 7e185a2e25e4bdbac422299f029a68d1c0c70d6e (patch) | |
tree | c02d56f01b97e8b9eeacdf4596399a9b47bc4114 /src/doctokenizer.l | |
parent | e8df803558f974dffc0b3d299d316c67a583251b (diff) | |
download | Doxygen-7e185a2e25e4bdbac422299f029a68d1c0c70d6e.zip Doxygen-7e185a2e25e4bdbac422299f029a68d1c0c70d6e.tar.gz Doxygen-7e185a2e25e4bdbac422299f029a68d1c0c70d6e.tar.bz2 |
Section label with minus sign not recognized properly.
This is a regression on:
Bug 740046 - Negative sign in -Foo::Bar ruins hyperlink in generated output
only the first character is has to be handled in the new way.
(Reference to old github pull request #704 and issue #5677)
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r-- | src/doctokenizer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l index e6b8865..590bbe1 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -388,7 +388,7 @@ LNKWORD3 ([0-9a-z_A-Z\-]+("/"|"\\"))*[0-9a-z_A-Z\-]+("."[0-9a-z_A-Z]+)+ CHARWORDQ [^ \t\n\r\\@<>()\[\]:;\?{}&%$#,."='] ESCWORD ("%"{ID}(("::"|"."){ID})*)|("%'") CHARWORDQ1 [^ \-+0-9\t\n\r\\@<>()\[\]:;\?{}&%$#,."='] -WORD1 {ESCWORD}|{CHARWORDQ1}+|"{"|"}"|"'\"'"|("\""[^"\n]*\n?[^"\n]*"\"") +WORD1 {ESCWORD}|{CHARWORDQ1}{CHARWORDQ}*|"{"|"}"|"'\"'"|("\""[^"\n]*\n?[^"\n]*"\"") WORD2 "."|","|"("|")"|"["|"]"|":"|";"|"\?"|"="|"'" WORD1NQ {ESCWORD}|{CHARWORDQ}+|"{"|"}" WORD2NQ "."|","|"("|")"|"["|"]"|":"|";"|"\?"|"="|"'" |