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 /MenhirLib | |
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 'MenhirLib')
-rw-r--r-- | MenhirLib/Interpreter.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MenhirLib/Interpreter.v b/MenhirLib/Interpreter.v index 158bba9f..922d6656 100644 --- a/MenhirLib/Interpreter.v +++ b/MenhirLib/Interpreter.v @@ -84,8 +84,8 @@ CoInductive buffer : Type := Buf_cons { buf_head : token; buf_tail : buffer }. (* Note: Coq 8.12.0 wants a Declare Scope command, - but this breaks compatibility with Coq < 8.10. - Declare Scope buffer_scope. *) + but this breaks compatibility with Coq < 8.10. *) +Declare Scope buffer_scope. Delimit Scope buffer_scope with buf. Bind Scope buffer_scope with buffer. |