Skip to content
  • Michael Matz's avatar
    Fix more attribute placements · 3e007193
    Michael Matz authored
    when parsing the type in this cast:
      (int (__attribute__(X) *)(int))foo
    we ignored the attribute, which matters if it's e.g. a 'stdcall'
    attribute on the function pointer.  Only this particular placement
    was misparsed.  Putting the attribute after the '*' or outside the inner
    parens worked.  This idiom seems to be used on SQLite, perhaps this
    fixes a compilation problem on win32 with that.
    3e007193