branch: externals/phps-mode commit 9940d5b7af358a82f115fcbce347a463644bdcd8 Author: Christian Johansson <christ...@cvj.se> Commit: Christian Johansson <christ...@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)