diff --git a/tagmanager/ctags/js.c b/tagmanager/ctags/js.c index 2c13e801..17369911 100644 --- a/tagmanager/ctags/js.c +++ b/tagmanager/ctags/js.c @@ -1243,6 +1243,7 @@ static boolean parseStatement (tokenInfo *const token, boolean is_inside_class) makeJsTag (token, JSTAG_METHOD); readToken (method_body_token); + vStringCopy (method_body_token->scope, token->scope); while (! ( isType (method_body_token, TOKEN_SEMICOLON) || isType (method_body_token, TOKEN_CLOSE_CURLY) ||