We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dec804f commit f6af91bCopy full SHA for f6af91b
lib/rdoc/ruby_lex.rb
@@ -948,7 +948,7 @@ def identify_identifier
948
@indent_stack.push token_c
949
end
950
else
951
- if peek(0) == ':'
+ if peek(0) == ':' and !peek_match?(/^::/)
952
token.concat getc
953
token_c = TkSYMBOL
954
@@ -986,7 +986,7 @@ def identify_identifier
986
elsif token[token.size - 1, 1] =~ /[!?]/
987
return Token(TkFID, token)
988
989
990
991
return Token(TkSYMBOL, token)
992
0 commit comments