diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/strange.in.rb | 4 | ||||
-rw-r--r-- | test/ruby/strange.out.raydebug | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/ruby/strange.in.rb b/test/ruby/strange.in.rb index 03fec4b..8369aaa 100644 --- a/test/ruby/strange.in.rb +++ b/test/ruby/strange.in.rb @@ -47,6 +47,10 @@ puts 30.send(:/, 5) # prints 6 #%W[ but #@0illegal_values look strange.]
+%Quark dazu
+
+% abc # FIXME
+
%s#ruby allows strange#{constructs}
%s#ruby allows strange#$constructs
%s#ruby allows strange#@@constructs
diff --git a/test/ruby/strange.out.raydebug b/test/ruby/strange.out.raydebug index baa4955..bcf053d 100644 --- a/test/ruby/strange.out.raydebug +++ b/test/ruby/strange.out.raydebug @@ -47,6 +47,10 @@ shell<delimiter(%x')content(instance variables can be )escape(#)instance_variabl comment(#%W[ but #@0illegal_values look strange.])
+operator(%)constant(Quark) ident(dazu)
+
+operator(%) ident(abc) comment(# FIXME)
+
symbol<delimiter(%s#)content(ruby allows strange)delimiter(#)>operator({)ident(constructs)operator(})
symbol<delimiter(%s#)content(ruby allows strange)delimiter(#)>global_variable($constructs)
symbol<delimiter(%s#)content(ruby allows strange)delimiter(#)>class_variable(@@constructs)
|