diff options
author | albert-github <albert.tests@gmail.com> | 2019-09-11 09:21:42 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-09-11 09:21:42 (GMT) |
commit | 10269d433ec433898ec61755568033c99c3cd301 (patch) | |
tree | 2fa19a25ea5920ec4874092e5fe8ffba5e517904 /src | |
parent | 81da20ff839843634ee6db5f517bfcb7ef87d4b9 (diff) | |
download | Doxygen-10269d433ec433898ec61755568033c99c3cd301.zip Doxygen-10269d433ec433898ec61755568033c99c3cd301.tar.gz Doxygen-10269d433ec433898ec61755568033c99c3cd301.tar.bz2 |
Bogus explicit link warning message from irc protocol name
When having:
```
* IRC: irc://irc.gimp.org/#gsconnect
```
we get:
```
warning: explicit link request to 'gsconnect' could not be resolved
```
When using the 'news:" protocol we don't get this message, adding 'irc' to the list of possibilities.
(Found in https://github.com/andyholmes/gnome-shell-extension-gsconnect )
Diffstat (limited to 'src')
-rw-r--r-- | src/doctokenizer.l | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l index 311e445..4527855 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -353,6 +353,7 @@ ATTRNAME [a-z_A-Z\x80-\xFF][a-z_A-Z0-9\x80-\xFF\-]* ATTRIB {ATTRNAME}{WS}*("="{WS}*(("\""[^\"]*"\"")|("'"[^\']*"'")|[^ \t\r\n'"><]+))? URLCHAR [a-z_A-Z0-9\!\~\,\:\;\'\$\?\@\&\%\#\.\-\+\/\=] URLMASK ({URLCHAR}+([({]{URLCHAR}*[)}])?)+ +URLPROTOCOL ("http:"|"https:"|"ftp:"|"file:"|"news:"|"irc") FILESCHAR [a-z_A-Z0-9\\:\\\/\-\+&#] FILEECHAR [a-z_A-Z0-9\-\+&#] HFILEMASK ("."{FILESCHAR}*{FILEECHAR}+)+ @@ -624,17 +625,17 @@ REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV} } return TK_COMMAND_SEL(); } -<St_Para>("http:"|"https:"|"ftp:"|"file:"|"news:"){URLMASK}/\. { // URL. +<St_Para>{URLPROTOCOL}{URLMASK}/\. { // URL. g_token->name=yytext; g_token->isEMailAddr=FALSE; return TK_URL; } -<St_Para>("http:"|"https:"|"ftp:"|"file:"|"news:"){URLMASK} { // URL +<St_Para>{URLPROTOCOL}{URLMASK} { // URL g_token->name=yytext; g_token->isEMailAddr=FALSE; return TK_URL; } -<St_Para>"<"("http:"|"https:"|"ftp:"|"file:"|"news:"){URLMASK}">" { // URL +<St_Para>"<"{URLPROTOCOL}{URLMASK}">" { // URL g_token->name=yytext; g_token->name = g_token->name.mid(1,g_token->name.length()-2); g_token->isEMailAddr=FALSE; |