File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2721,6 +2721,12 @@ def visit_token(token)
2721
2721
on_ident ( token )
2722
2722
when /^[[:upper:]]/
2723
2723
on_const ( token )
2724
+ when /^@@/
2725
+ on_cvar ( token )
2726
+ when /^@/
2727
+ on_ivar ( token )
2728
+ when /^\$ /
2729
+ on_gvar ( token )
2724
2730
when /^[[:punct:]]/
2725
2731
on_op ( token )
2726
2732
else
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ class RipperTest < TestCase
25
25
dos_endings.txt
26
26
embdoc_no_newline_at_end.txt
27
27
endless_methods.txt
28
- global_variables.txt
29
28
hashes.txt
30
29
heredocs_leading_whitespace.txt
31
30
heredocs_nested.txt
@@ -89,7 +88,6 @@ class RipperTest < TestCase
89
88
single_method_call_with_bang.txt
90
89
spanning_heredoc.txt
91
90
strings.txt
92
- symbols.txt
93
91
ternary_operator.txt
94
92
tilde_heredocs.txt
95
93
unless.txt
You can’t perform that action at this time.
0 commit comments