Skip to content

Commit

Permalink
Merge pull request #37 from eentzel/master
Browse files Browse the repository at this point in the history
Consider foo.bar to be a single parameter name in jsdoc comments
  • Loading branch information
mooz committed Mar 8, 2012
2 parents 1591d68 + 18d7789 commit 1f2ecc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js2-mode.el
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6479,7 +6479,7 @@ of a simple name. Called before EXPR has a parent node."
"\\(?:param\\|argument\\)" "\\(?:param\\|argument\\)"
"\\)" "\\)"
"\\s-*\\({[^}]+}\\)?" ; optional type "\\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.") "Matches jsdoc tags with optional type and optional param name.")


Expand Down

0 comments on commit 1f2ecc0

Please sign in to comment.