aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Cabshelper.ml
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2020-07-21 18:42:27 +0200
committerXavier Leroy <xavierleroy@users.noreply.github.com>2020-07-21 18:45:28 +0200
commita8ce85adbf2863e98e5c24e9cc6f82947d4b3a29 (patch)
treec289886f88b58716ecfe0f7261594a231a3b21be /cparser/Cabshelper.ml
parent3a1b0e98a09dd9688e8f45f9677b7ea25f4720bf (diff)
downloadcompcert-kvx-a8ce85adbf2863e98e5c24e9cc6f82947d4b3a29.tar.gz
compcert-kvx-a8ce85adbf2863e98e5c24e9cc6f82947d4b3a29.zip
Support _Static_assert from C11
Diffstat (limited to 'cparser/Cabshelper.ml')
-rw-r--r--cparser/Cabshelper.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/cparser/Cabshelper.ml b/cparser/Cabshelper.ml
index 22f3b3c7..7cffef08 100644
--- a/cparser/Cabshelper.ml
+++ b/cparser/Cabshelper.ml
@@ -44,6 +44,7 @@ let get_definitionloc (d : definition) : loc =
| FUNDEF(_, _, _, _, l) -> l
| DECDEF(_, l) -> l
| PRAGMA(_, l) -> l
+ | STATIC_ASSERT(_, _, _, _, l) -> l
let get_statementloc (s : statement) : loc =
begin