Splat star allowed before ::Constant
@@ -532,7 +532,7 @@ struct Scanner {
if (valid_symbols[SPLAT_STAR] && lexer->lookahead == '*') {
advance(lexer);
- if (isalpha(lexer->lookahead) || lexer->lookahead == '@' || lexer->lookahead == '$' || lexer->lookahead == '(') {
+ if (isalpha(lexer->lookahead) || lexer->lookahead == '@' || lexer->lookahead == '$' || lexer->lookahead == '(' || lexer->lookahead == ':') {
lexer->result_symbol = SPLAT_STAR;
return true;
} else {
