Doxygen find_match_paren().

This commit is contained in:
Scott Prager 2014-09-26 19:43:34 -04:00
parent e922a74273
commit 949fb9721f

View File

@ -1198,14 +1198,9 @@ static pos_T *find_start_brace(void)
return trypos; return trypos;
} }
/* /// Find the matching '(', failing if it is in a comment.
* Find the matching '(', failing if it is in a comment. /// @returns NULL or the found match.
* Return NULL if no match found. static pos_T *find_match_paren(int ind_maxparen)
*/
static pos_T *
find_match_paren ( /* XXX */
int ind_maxparen
)
{ {
pos_T cursor_save; pos_T cursor_save;
pos_T *trypos; pos_T *trypos;
@ -1220,7 +1215,7 @@ find_match_paren ( /* XXX */
pos_copy = *trypos; /* copy trypos, findmatch will change it */ pos_copy = *trypos; /* copy trypos, findmatch will change it */
trypos = &pos_copy; trypos = &pos_copy;
curwin->w_cursor = *trypos; curwin->w_cursor = *trypos;
if (ind_find_start_comment() != NULL) /* XXX */ if (ind_find_start_comment() != NULL)
trypos = NULL; trypos = NULL;
} }
} }