summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-11-02 11:44:34 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-11-02 11:44:34 (GMT)
commit07ae32a61e779647bace1efdbf8d15b35871fcca (patch)
tree903cce402234b9e806b846e8916a7fb2e937812e /src
parent1b88f2417deadcd6c25a47bd6f37c524c61abefc (diff)
downloadDoxygen-07ae32a61e779647bace1efdbf8d15b35871fcca.zip
Doxygen-07ae32a61e779647bace1efdbf8d15b35871fcca.tar.gz
Doxygen-07ae32a61e779647bace1efdbf8d15b35871fcca.tar.bz2
Bug 795568 - "unexpected token TK_EOF as the argument of ref" when target starts with a digit
Enable possibility to reference to file names as well (some filenames ere supported as side effect of other rules).
Diffstat (limited to 'src')
-rw-r--r--src/doctokenizer.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
index 5cd97a8..6a703df 100644
--- a/src/doctokenizer.l
+++ b/src/doctokenizer.l
@@ -406,8 +406,8 @@ REFWORD2_NOCV {REFWORD2_PRE}("("{FUNCPART}")")?
REFWORD3 ({ID}":")*{ID}":"?
REFWORD4_NOCV (({SCOPEPRE}*"operator"{OPMASKOP2})|(("::"|"#"){SCOPEPRE}*"operator"{OPMASKOP2}))
REFWORD4 {REFWORD4_NOCV}{CVSPEC}?
-REFWORD {LABELID}|{REFWORD2}|{REFWORD3}|{REFWORD4}
-REFWORD_NOCV {LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV}
+REFWORD {FILEMASK}|{LABELID}|{REFWORD2}|{REFWORD3}|{REFWORD4}
+REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV}
%option noyywrap
%option yylineno