aboutsummaryrefslogtreecommitdiffstats
path: root/cfrontend
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2021-09-15 14:00:41 +0200
committerGitHub <noreply@github.com>2021-09-15 14:00:41 +0200
commitc9fad7cd7bdc4e79fb06a1d39abfa0d5471623e5 (patch)
tree300c838636f84ef8cc57faa86eca9440e9171c69 /cfrontend
parent8eaff6bf3933f2213ae85584009e05123c40fa65 (diff)
downloadcompcert-kvx-c9fad7cd7bdc4e79fb06a1d39abfa0d5471623e5.tar.gz
compcert-kvx-c9fad7cd7bdc4e79fb06a1d39abfa0d5471623e5.zip
Avoid `Global Set Asymmetric Patterns` (#408)
Instead, add `Set Asymmetric Patterns` to the files that need it, or use `Arguments` to make inductive types work better with symmetric patterns. Closes: #403
Diffstat (limited to 'cfrontend')
-rw-r--r--cfrontend/Ctypes.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/cfrontend/Ctypes.v b/cfrontend/Ctypes.v
index 7b2c7354..e3356510 100644
--- a/cfrontend/Ctypes.v
+++ b/cfrontend/Ctypes.v
@@ -20,6 +20,8 @@ Require Import Axioms Coqlib Maps Errors.
Require Import AST Linking.
Require Archi.
+Set Asymmetric Patterns.
+
Local Open Scope error_monad_scope.
(** * Syntax of types *)