Skip to content
Snippets Groups Projects
Commit b79f187d authored by Virgile Prevosto's avatar Virgile Prevosto Committed by Andre Maroneze
Browse files

[parsing] _Static_assert must end with a semicolon, like any declaration

parent 8ca0c1b3
No related branches found
No related tags found
No related merge requests found
......@@ -1086,7 +1086,7 @@ declaration: /* ISO 6.7.*/
end;
!Lexerhack.reset_typedef();
doDeclaration (Some $1) ((snd $2)) (fst $2) [] }
| static_assert_declaration
| static_assert_declaration SEMICOLON
{ let (e, m, loc) = $1 in STATIC_ASSERT (e, m, loc) }
;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment