diff options
author | Bernhard Schommer <bschommer@users.noreply.github.com> | 2016-04-04 13:27:39 +0200 |
---|---|---|
committer | Bernhard Schommer <bschommer@users.noreply.github.com> | 2016-04-04 13:27:39 +0200 |
commit | 1a02cbf4746bcbd059c35613d4a71cd127fbfa13 (patch) | |
tree | febd5b7769e9577ce03917b1c51679a2eac88ce4 /cparser/Cabs.v | |
parent | 8b0d5a0d291c66f05869c15f92539bd1d7082d3a (diff) | |
parent | 4e62a2c4b2c809ea020423e7e328ba96e379d64d (diff) | |
download | compcert-1a02cbf4746bcbd059c35613d4a71cd127fbfa13.tar.gz compcert-1a02cbf4746bcbd059c35613d4a71cd127fbfa13.zip |
Merge pull request #95 from AbsInt/noreturn
Added the _Noreturn keyword.
Diffstat (limited to 'cparser/Cabs.v')
-rw-r--r-- | cparser/Cabs.v | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cparser/Cabs.v b/cparser/Cabs.v index f5cab15a..d087e8c7 100644 --- a/cparser/Cabs.v +++ b/cparser/Cabs.v @@ -60,6 +60,9 @@ with cvspec := | CV_CONST | CV_VOLATILE | CV_RESTRICT | CV_ATTR : attribute -> cvspec +with funspec := + INLINE | NORETURN + (* Type specifier elements. These appear at the start of a declaration *) (* Everywhere they appear in this file, they appear as a 'list spec_elem', *) (* which is not interpreted by cabs -- rather, this "word soup" is passed *) @@ -68,7 +71,7 @@ with cvspec := with spec_elem := | SpecCV : cvspec -> spec_elem (* const/volatile *) | SpecStorage : storage -> spec_elem - | SpecInline + | SpecFunction: funspec -> spec_elem | SpecType : typeSpecifier -> spec_elem (* Declarator type. They modify the base type given in the specifier. Keep |