branch: elpa/swift-mode
commit cac2884d29e2aa4470ceb6ac6beeb52f4da76a5f
Author: ap4y <l...@pisem.net>
Commit: ap4y <l...@pisem.net>

    Add lists to the "type" grammar
---
 swift-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swift-mode.el b/swift-mode.el
index 8eecbc2..ca86e33 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -75,7 +75,7 @@
    (smie-merge-prec2s
     (smie-bnf->prec2
      '((id)
-       (type (type) (type "<T" types "T>"))
+       (type (type) (type "<T" types "T>") ("[" type "]"))
        (types (type) (type "," type))
 
        (class-decl-exp (id) (id ":" types))

Reply via email to