From 432aeb74d5a49e6f0efd1063113cef099c93aef6 Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 28 Dec 2009 07:27:12 +0000 Subject: Copying changes and fixes for 0.9.0rc3 from terminal-encoder branch over to trunk. --- test/scanners/c/elvis.expected.raydebug | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'test/scanners/c/elvis.expected.raydebug') diff --git a/test/scanners/c/elvis.expected.raydebug b/test/scanners/c/elvis.expected.raydebug index 1f4f583..81743d0 100644 --- a/test/scanners/c/elvis.expected.raydebug +++ b/test/scanners/c/elvis.expected.raydebug @@ -1 +1,26 @@ -ident(this)operator(?)ident(is)operator(+)ident(no)operator(:)ident(label) +ident(This)operator(?)ident(is)operator(+)ident(no)operator(:)ident(label)operator(;) + +comment(// This is only one label:) +label(label:) reserved(switch) operator(()ident(TYPE)operator(()ident(v)operator(\)\)) operator({) + reserved(case) ident(T_CLASS)operator(:) reserved(case) ident(T_MODULE)operator(:) + ident(rb_str_append)operator(()ident(s)operator(,) ident(rb_inspect)operator(()ident(v)operator(\)\);) + reserved(break)operator(;) + reserved(default)operator(:) + ident(rb_str_append)operator(()ident(s)operator(,) ident(rb_any_to_s)operator(()ident(v)operator(\)\);) + reserved(break)operator(;) +operator(}) +comment(// These are two labels.) +ident(function)operator(()ident(call)operator(\);) +label(label2:) label(label3:) ident(a) operator(=) ident(b) operator(+) ident(c)operator(;) + +comment(// Another label.) +reserved(if) operator(()integer(1)operator(\)) operator({) + label(label4:) ident(a) operator(=) ident(b) operator(+) ident(c)operator(;) +operator(}) + +comment(// Not a label.) +ident(test)operator(() + ident(a)operator(?) + ident(b)operator(:) + ident(c) +operator(\)) \ No newline at end of file -- cgit v1.2.1