Skip to content

Commit

Permalink
Bug 795568 - "unexpected token TK_EOF as the argument of ref" when ta…
Browse files Browse the repository at this point in the history
…rget starts with a digit

Enable possibility to reference to file names as well (some filenames ere supported as side effect of other rules).
  • Loading branch information
albert-github committed Nov 2, 2018
1 parent 1b88f24 commit 07ae32a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doctokenizer.l
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 07ae32a

Please sign in to comment.