Browse files

Merge pull request #37 from eentzel/master

Consider foo.bar to be a single parameter name in jsdoc comments
  • Loading branch information...
2 parents 1591d68 + 18d7789 commit 1f2ecc016c9cde8e26c6c550c950263d33a859bc @mooz committed Mar 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js2-mode.el
View
2 js2-mode.el
@@ -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.")

0 comments on commit 1f2ecc0

Please sign in to comment.