else
TCommentCpp (Token_c.CppDirective, i1)
+ (* exception to next rule *)
+ | (TIdent (s2, i2)::TOPar _::_ , TIdent (s1, i1)::seen::_)
+ when not_struct_enum before
+ && is_macro s2 && is_type seen ->
+ TIdent (s2, i2)
+
| (TIdent (s2, i2)::_ , TIdent (s, i1)::seen::_)
when not_struct_enum before
&& is_macro s2 && is_type seen ->
else
TCommentCpp (Token_c.CppDirective, i1)
+ (* exception to next rule *)
+ | (TIdent (s2, i2)::TOPar _::_ , TIdent (s1, i1)::ptr)
+ when not_struct_enum before
+ && is_macro s2 && pointer ptr ->
+ TIdent (s2, i2)
(* tt * xx yy *)
| (TIdent(s2, i2)::_ , TIdent (s, i1)::ptr)
when not_struct_enum before
TypedefIdent (s, i1)
(* xx MM ( *)
- | (TIdent (s, i1)::TIdent (s2, i2)::TOPar _::_ , type_::_) when not_struct_enum before
- && ok_typedef s && is_macro s2 && is_type type_
+ (* exception to next rule *)
+ | (TIdent (s, i1)::TIdent (s2, i2)::TOPar _::_ , _) when not_struct_enum before
+ && ok_typedef s && is_macro s2
->
TIdent (s, i1)
(* xx yy *)