diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2017-02-13 16:27:43 +0100 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2017-02-13 16:27:43 +0100 |
commit | d8b75dc0f11fe725bcbe8eb4bd893c608c05dd91 (patch) | |
tree | 9242480a2943cc26e8279b3822f9969fa134d4be /x86/Asm.v | |
parent | 8e7de2a327b202130192a784f921699f70e707cb (diff) | |
download | compcert-d8b75dc0f11fe725bcbe8eb4bd893c608c05dd91.tar.gz compcert-d8b75dc0f11fe725bcbe8eb4bd893c608c05dd91.zip |
Give explicit scopes to notations a#b and a##b and a#b<-c
Without scopes Coq 8.6 warns, probably rightly so.
Diffstat (limited to 'x86/Asm.v')
-rw-r--r-- | x86/Asm.v | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -310,8 +310,10 @@ Module Pregmap := EMap(PregEq). Definition regset := Pregmap.t val. Definition genv := Genv.t fundef unit. -Notation "a # b" := (a b) (at level 1, only parsing). -Notation "a # b <- c" := (Pregmap.set b c a) (at level 1, b at next level). +Notation "a # b" := (a b) (at level 1, only parsing) : asm. +Notation "a # b <- c" := (Pregmap.set b c a) (at level 1, b at next level) : asm. + +Open Scope asm. (** Undefining some registers *) |