From 857a0937b6e3e2814836d68e222dd6473c5433fa Mon Sep 17 00:00:00 2001
From: Robbert Krebbers <mail@robbertkrebbers.nl>
Date: Wed, 9 Nov 2016 11:29:26 +0100
Subject: [PATCH] Make notations && and || in heap_lang parsing only.

---
 heap_lang/notation.v | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/heap_lang/notation.v b/heap_lang/notation.v
index 600cca0a3..c408e1f57 100644
--- a/heap_lang/notation.v
+++ b/heap_lang/notation.v
@@ -85,8 +85,10 @@ Notation "e1 ;; e2" := (LamV BAnon e2%E e1%E)
   (at level 100, e2 at level 200, format "e1  ;;  e2") : val_scope.
 
 (* Shortcircuit Boolean connectives *)
-Notation "e1 && e2" := (If e1%E e2%E (Lit (LitBool false))) : expr_scope.
-Notation "e1 || e2" := (If e1%E (Lit (LitBool true)) e2%E) : expr_scope.
+Notation "e1 && e2" :=
+  (If e1%E e2%E (Lit (LitBool false))) (parsing only) : expr_scope.
+Notation "e1 || e2" :=
+  (If e1%E (Lit (LitBool true)) e2%E) (parsing only): expr_scope.
 
 (** Notations for option *)
 Notation NONE := (InjL #()).
-- 
GitLab