Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Now "alias :new_alias :aliased_method" works!

  • Loading branch information...
commit ed684b6cf317492c7021cc4358f8dcb518f04370 1 parent aee7441
Gaizka authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 bin/rtags
View
7 bin/rtags
@@ -450,7 +450,12 @@ module RTAGS
def parse_alias(context, single, tk, &block)
skip_tkspace
- name = get_tk.name
+ if (token = get_tk).is_a? TkSYMBEG
+ # Name is in next token
+ token = get_tk
+ end
+
+ name = token.name
if context
if single == SINGLE
yield RTSingleAlias.new(get_tkreaded, context, name, tk)
Please sign in to comment.
Something went wrong with that request. Please try again.