branch: externals/a68-mode
commit f86ee85b0cd2d19b0f72b069cf1012970f73831c
Author: Jose E. Marchesi <jose.march...@oracle.com>
Commit: Jose E. Marchesi <jose.march...@oracle.com>

    Expand SMIE grammar: selections
---
 a68-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/a68-mode.el b/a68-mode.el
index 570ba00fe6..befb22d96c 100644
--- a/a68-mode.el
+++ b/a68-mode.el
@@ -415,12 +415,13 @@ with the equivalent upcased form."
                      (exp ":/=:" exp)
                      (exp "is" exp)
                      (exp "isnt" exp))
+    (selection (id "of" secondary))
     ;; Formula.
     ;; Standard operators are given their priority.
     (formula (dyadic-formula)
              (monadic-formula))
     (monadic-formula ("-monadic~-" monadic-operand)
-                     (-monadic+- monadic-operand)
+                     ("-monadic+-" monadic-operand)
                      ("-monadic--" monadic-operand))
     (dyadic-formula (operand "-oper-" monadic-operand)
                     (operand "+:=" monadic-operand)
@@ -474,7 +475,6 @@ with the equivalent upcased form."
                     (operand "ELEMS" monadic-operand))
     (operand (formula)
              (secondary))
-    (monadic-formula (secondary))
     (monadic-operand (monadic-formula)
                      (secondary))
     ;; Enquiry clause:

Reply via email to