diff options
author | albert-github <albert.tests@gmail.com> | 2018-11-02 11:44:34 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-11-02 11:44:34 (GMT) |
commit | 07ae32a61e779647bace1efdbf8d15b35871fcca (patch) | |
tree | 903cce402234b9e806b846e8916a7fb2e937812e | |
parent | 1b88f2417deadcd6c25a47bd6f37c524c61abefc (diff) | |
download | Doxygen-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).
-rw-r--r-- | src/doctokenizer.l | 4 |
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 |