diff options
author | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2022-09-19 16:28:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 16:28:06 +0200 |
commit | 103aa7074a9dd3b1bcb2864d52c89292a2ab7bff (patch) | |
tree | c2b8e6f224daa9afe54a998b8c7e832b33c5c0b2 /export | |
parent | b816d696733c96fdc62428e43c4a4a1f5a09b47b (diff) | |
download | compcert-103aa7074a9dd3b1bcb2864d52c89292a2ab7bff.tar.gz compcert-103aa7074a9dd3b1bcb2864d52c89292a2ab7bff.zip |
Add `Declare Scope` where appropriate (#440)
And re-enable the `undeclared-scope` warning.
`Declare Scope` has been available since Coq 8.12, which is now the minimal Coq version supported.
Diffstat (limited to 'export')
-rw-r--r-- | export/Clightdefs.v | 2 | ||||
-rw-r--r-- | export/Csyntaxdefs.v | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/export/Clightdefs.v b/export/Clightdefs.v index dc4e3491..3a9da8f6 100644 --- a/export/Clightdefs.v +++ b/export/Clightdefs.v @@ -49,6 +49,8 @@ Definition mkprogram (types: list composite_definition) (** ** Notations *) +Declare Scope clight_scope. + Module ClightNotations. (** A convenient notation [$ "ident"] to force evaluation of diff --git a/export/Csyntaxdefs.v b/export/Csyntaxdefs.v index 84ce9f3a..67bc7f51 100644 --- a/export/Csyntaxdefs.v +++ b/export/Csyntaxdefs.v @@ -49,6 +49,8 @@ Definition mkprogram (types: list composite_definition) (** ** Notations *) +Declare Scope csyntax_scope. + Module CsyntaxNotations. (** A convenient notation [$ "ident"] to force evaluation of |