From 0db86ecbd49ce957d5d27ae98607e83aa95c951b Mon Sep 17 00:00:00 2001 From: murphy Date: Sun, 7 Jun 2009 14:21:50 +0000 Subject: Improved UTF-8 support for Ruby Scanner. Also fixed a minor bug. * closes #108 (new Ruby 1.9 call operator syntax sugar) * Added an example for unicode code. * automatic UTF-8 detection (experimental) * Still problems with different Ruby versions; new unicode test fails in Ruby 1.9 and JRuby. --- test/scanners/ruby/ruby19.expected.raydebug | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/scanners/ruby/ruby19.expected.raydebug (limited to 'test/scanners/ruby/ruby19.expected.raydebug') diff --git a/test/scanners/ruby/ruby19.expected.raydebug b/test/scanners/ruby/ruby19.expected.raydebug new file mode 100644 index 0000000..f3e40d5 --- /dev/null +++ b/test/scanners/ruby/ruby19.expected.raydebug @@ -0,0 +1,4 @@ +ident(block)operator(.)ident(()operator(*)ident(arguments)operator(\)) comment(# bovi's example) + +reserved(def) operator(()ident(foo)operator(\))operator(.)ident(bar) +reserved(end) \ No newline at end of file -- cgit v1.2.1