Blame doxygen-1.8.13-#776988.patch

Than Ngo 127e03
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
Than Ngo 127e03
index a89570e..7545cba 100644
Than Ngo 127e03
--- a/src/doctokenizer.l
Than Ngo 127e03
+++ b/src/doctokenizer.l
Than Ngo 127e03
@@ -395,10 +395,14 @@ HTMLTAG   "<"(("/")?){ID}({WS}+{ATTRIB})*{WS}*(("/")?)">"
Than Ngo 127e03
 HTMLKEYL  "strong"|"center"|"table"|"caption"|"small"|"code"|"dfn"|"var"|"img"|"pre"|"sub"|"sup"|"tr"|"td"|"th"|"ol"|"ul"|"li"|"tt"|"kbd"|"em"|"hr"|"dl"|"dt"|"dd"|"br"|"i"|"a"|"b"|"p"
Than Ngo 127e03
 HTMLKEYU  "STRONG"|"CENTER"|"TABLE"|"CAPTION"|"SMALL"|"CODE"|"DFN"|"VAR"|"IMG"|"PRE"|"SUB"|"SUP"|"TR"|"TD"|"TH"|"OL"|"UL"|"LI"|"TT"|"KBD"|"EM"|"HR"|"DL"|"DT"|"DD"|"BR"|"I"|"A"|"B"|"P"
Than Ngo 127e03
 HTMLKEYW  {HTMLKEYL}|{HTMLKEYU}
Than Ngo 127e03
-REFWORD2  ("#"|"::")?((({ID}{TEMPLPART}?)|{ANONNS})("."|"#"|"::"|"-"|"/"))*({ID}{TEMPLPART}?(":")?){FUNCARG2}?
Than Ngo 127e03
-REFWORD3  ({ID}":")*{ID}":"?
Than Ngo 127e03
-REFWORD4  (({SCOPEPRE}*"operator"{OPMASKOP2})|(("::"|"#"){SCOPEPRE}*"operator"{OPMASKOP2})){CVSPEC}?
Than Ngo 127e03
-REFWORD   {LABELID}|{REFWORD2}|{REFWORD3}|{REFWORD4}
Than Ngo 127e03
+REFWORD2_PRE   ("#"|"::")?((({ID}{TEMPLPART}?)|{ANONNS})("."|"#"|"::"|"-"|"/"))*({ID}{TEMPLPART}?(":")?)
Than Ngo 127e03
+REFWORD2       {REFWORD2_PRE}{FUNCARG2}?
Than Ngo 127e03
+REFWORD2_NOCV  {REFWORD2_PRE}("("{FUNCPART}")")?
Than Ngo 127e03
+REFWORD3       ({ID}":")*{ID}":"?
Than Ngo 127e03
+REFWORD4_NOCV  (({SCOPEPRE}*"operator"{OPMASKOP2})|(("::"|"#"){SCOPEPRE}*"operator"{OPMASKOP2}))
Than Ngo 127e03
+REFWORD4       {REFWORD4_NOCV}{CVSPEC}?
Than Ngo 127e03
+REFWORD        {LABELID}|{REFWORD2}|{REFWORD3}|{REFWORD4}
Than Ngo 127e03
+REFWORD_NOCV   {LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV}
Than Ngo 127e03
 
Than Ngo 127e03
 %option noyywrap
Than Ngo 127e03
 %option yylineno
Than Ngo 127e03
@@ -1011,6 +1015,14 @@ REFWORD   {LABELID}|{REFWORD2}|{REFWORD3}|{REFWORD4}
Than Ngo 127e03
                          unput(*yytext);
Than Ngo 127e03
   			 return 0;
Than Ngo 127e03
   		       }
Than Ngo 127e03
+<St_Ref>{REFWORD_NOCV}/{BLANK}("const")[a-z_A-Z0-9] { // see bug776988
Than Ngo 127e03
+  			 g_token->name=yytext;
Than Ngo 127e03
+			 return TK_WORD;
Than Ngo 127e03
+                       }
Than Ngo 127e03
+<St_Ref>{REFWORD_NOCV}/{BLANK}("volatile")[a-z_A-Z0-9] { // see bug776988
Than Ngo 127e03
+  			 g_token->name=yytext;
Than Ngo 127e03
+			 return TK_WORD;
Than Ngo 127e03
+                       }
Than Ngo 127e03
 <St_Ref>{REFWORD}      { // label to refer to
Than Ngo 127e03
   			 g_token->name=yytext;
Than Ngo 127e03
 			 return TK_WORD;