Skip to content
Snippets Groups Projects
  • Virgile Prevosto's avatar
    6bd64624
    [parsing] Allow attributes in declarator lists · 6bd64624
    Virgile Prevosto authored
    Previously, the parser only allowed attributes at beginning of a declaration
    (like for `const`, `static`, ...). However, gcc accepts to have attributes
    in the rest of the declaration (after the first comma, like for a pointer or
     array declarator).
    
    Fixes #616
    6bd64624
    History
    [parsing] Allow attributes in declarator lists
    Virgile Prevosto authored
    Previously, the parser only allowed attributes at beginning of a declaration
    (like for `const`, `static`, ...). However, gcc accepts to have attributes
    in the rest of the declaration (after the first comma, like for a pointer or
     array declarator).
    
    Fixes #616