From 3f5cc3ae69ecad6a6909aad4b553eb958241dd14 Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 18 Oct 2006 21:48:17 +0000 Subject: Ruby scanner: #{...} delimiters are now :inline_delimiter to solve CSS problem. New token: :inline_delimiter Scanner tests suite revamped: colorization, split up into methods. --- test/scanners/ruby/class.expected.raydebug | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/scanners/ruby/class.expected.raydebug') diff --git a/test/scanners/ruby/class.expected.raydebug b/test/scanners/ruby/class.expected.raydebug index af7a63a..31bc313 100644 --- a/test/scanners/ruby/class.expected.raydebug +++ b/test/scanners/ruby/class.expected.raydebug @@ -34,8 +34,8 @@ reserved(class) class(CodeRaySuite) operator(<) constant(TestCase) ident(highlighter) operator(=) constant(CodeRay)operator(.)ident(html) ident(dir) reserved(do) - reserved(for) ident(input) reserved(in) constant(Dir)operator([)stringdelimiter(")>operator(]) - ident(name) operator(=) constant(File)operator(.)ident(basename)operator(()ident(input)operator(,) stringdelimiter(")>operator(\)) + reserved(for) ident(input) reserved(in) constant(Dir)operator([)stringdelimiter(")>operator(]) + ident(name) operator(=) constant(File)operator(.)ident(basename)operator(()ident(input)operator(,) stringdelimiter(")>operator(\)) ident(output) operator(=) ident(name) operator(+) string ident(code) operator(=) constant(File)operator(.)ident(read)operator(()ident(input)operator(\)) @@ -46,7 +46,7 @@ reserved(class) class(CodeRaySuite) operator(<) constant(TestCase) ident(assert_equal)operator(()ident(expected)operator(,) ident(computed)operator(\)) reserved(else) constant(File)operator(.)ident(open)operator(()ident(output)operator(,) stringoperator(\)) reserved(do) operator(|)ident(f)operator(|) ident(f)operator(.)ident(write) ident(computed) reserved(end) - ident(puts) stringdelimiter(")> + ident(puts) stringdelimiter(")> reserved(end) ident(highlighted) operator(=) ident(highlighter)operator(.)ident(highlight_page) ident(code)operator(,) ident(lang) @@ -66,7 +66,7 @@ reserved(def) method(load_suite) ident(name) reserved(rescue) constant(LoadError) global_variable($stderr)operator(.)ident(puts) stringstring operator(+) ident(name)delimiter(})>content( not found +!! Folder )inline operator(+) ident(name)inline_delimiter(})>content( not found )delimiter( ERR)> pre_constant(false) -- cgit v1.2.1