emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/phps-mode 9940d5b 04/11: Fixes for precedence in automa


From: Christian Johansson
Subject: [elpa] externals/phps-mode 9940d5b 04/11: Fixes for precedence in automation grammar
Date: Sat, 18 Sep 2021 16:22:44 -0400 (EDT)

branch: externals/phps-mode
commit 9940d5b7af358a82f115fcbce347a463644bdcd8
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    Fixes for precedence in automation grammar
---
 phps-mode-automation-grammar.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/phps-mode-automation-grammar.el b/phps-mode-automation-grammar.el
index fda3128..1a431bc 100644
--- a/phps-mode-automation-grammar.el
+++ b/phps-mode-automation-grammar.el
@@ -43,7 +43,7 @@
 
 (defconst
   phps-mode-automation-grammar--lr-global-precedence-attributes
-  '%prec
+  '(%left %nonassoc %precedence %right)
   "The LR-parser's list of global precedence attributes.")
 
 (defconst
@@ -75,7 +75,7 @@
     (%left "*" "/" "%")
     (%precedence "!")
     (%precedence T_INSTANCEOF)
-    (%precendece "~" T_INT_CAST T_DOUBLE_CAST T_STRING_CAST T_ARRAY_CAST 
T_OBJECT_CAST T_BOOL_CAST T_UNSET_CAST "@" )
+    (%precedence "~" T_INT_CAST T_DOUBLE_CAST T_STRING_CAST T_ARRAY_CAST 
T_OBJECT_CAST T_BOOL_CAST T_UNSET_CAST "@" )
     (%right T_POW)
     (%precedence T_CLONE)
     (%precedence T_NOELSE)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]