]> code.delx.au - gnu-emacs-elpa/commitdiff
Consider foo.bar to be a single parameter name in jsdoc comments
authorEric Entzel <eric.entzel@rea-group.com>
Thu, 8 Mar 2012 00:45:03 +0000 (11:45 +1100)
committerEric Entzel <eric.entzel@rea-group.com>
Thu, 8 Mar 2012 00:45:03 +0000 (11:45 +1100)
js2-mode.el

index 7deb55b0a3276ac694688721c086f4602d04c2cd..eaef485b192827ed1f89e45c7642cd369665694e 100644 (file)
@@ -6479,7 +6479,7 @@ of a simple name.  Called before EXPR has a parent node."
           "\\(?:param\\|argument\\)"
           "\\)"
           "\\s-*\\({[^}]+}\\)?"         ; optional type
-          "\\s-*\\[?\\([a-zA-Z0-9_$]+\\)?\\]?"  ; name
+          "\\s-*\\[?\\([a-zA-Z0-9_$\.]+\\)?\\]?"  ; name
           "\\>")
   "Matches jsdoc tags with optional type and optional param name.")