Allow C++11 "explicit constexpr"

This commit is contained in:
Olly Betts 2015-01-08 15:56:50 +13:00
commit 87bdaa3910
3 changed files with 7 additions and 0 deletions

View file

@ -4680,6 +4680,7 @@ storage_class : EXTERN { $$ = "extern"; }
| FRIEND { $$ = "friend"; }
| EXPLICIT { $$ = "explicit"; }
| CONSTEXPR { $$ = "constexpr"; }
| EXPLICIT CONSTEXPR { $$ = "explicit constexpr"; }
| STATIC CONSTEXPR { $$ = "static constexpr"; }
| THREAD_LOCAL { $$ = "thread_local"; }
| THREAD_LOCAL STATIC { $$ = "static thread_local"; }