Skip to content

Commit

Permalink
Invalid warnings regarding todos when source file name contains a '-'
Browse files Browse the repository at this point in the history
Handling also filenames in scope environment
  • Loading branch information
albert-github committed Nov 9, 2018
1 parent 9440d7c commit ee97be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doctokenizer.l
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV}
<St_IntRef>{BLANK}+"\"" {
BEGIN(St_Ref2);
}
<St_SetScope>({SCOPEMASK}|{ANONNS}){BLANK} {
<St_SetScope>({SCOPEMASK}|{ANONNS}){BLANK}|{FILEMASK} {
g_token->name = yytext;
g_token->name = g_token->name.stripWhiteSpace();
return TK_WORD;
Expand Down

0 comments on commit ee97be4

Please sign in to comment.