summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2018-11-04 15:48:49 (GMT)
committerGitHub <noreply@github.com>2018-11-04 15:48:49 (GMT)
commit76521376a574b5542aaa72c565406b0e951e98cc (patch)
treee19219a830df380c92ec741389f96c7d31a7719d /src
parentc066419458e38fc42521980b65d86ac31c1c0270 (diff)
parent07ae32a61e779647bace1efdbf8d15b35871fcca (diff)
downloadDoxygen-76521376a574b5542aaa72c565406b0e951e98cc.zip
Doxygen-76521376a574b5542aaa72c565406b0e951e98cc.tar.gz
Doxygen-76521376a574b5542aaa72c565406b0e951e98cc.tar.bz2
Merge pull request #6592 from albert-github/feature/bug_795568
Bug 795568 - "unexpected token TK_EOF as the argument of ref" when target starts with a digit
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