From 6817a895b2b65df0a90cc26f2447260a2bfdca51 Mon Sep 17 00:00:00 2001 From: augustin64 Date: Mon, 6 May 2024 10:12:24 +0200 Subject: [PATCH] Fix operators priority --- parser.mly | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/parser.mly b/parser.mly index 30e29bc..47c5710 100644 --- a/parser.mly +++ b/parser.mly @@ -18,10 +18,9 @@ open Parser_entry %token LEFT RIGHT SPLIT %token EOL - -%right AND -%right OR %right TARR +%right OR +%right AND %right TILDE %start main