From 4a78a4133c7c0806b731d87e4b4d1d5144a28d1b Mon Sep 17 00:00:00 2001 From: Gaurav Jain Date: Tue, 13 May 2014 00:06:36 -0400 Subject: Improve support $ symbol in Java identifiers --- tests/examplefiles/example.java | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'tests/examplefiles/example.java') diff --git a/tests/examplefiles/example.java b/tests/examplefiles/example.java index 34b87fbb..f2e94322 100644 --- a/tests/examplefiles/example.java +++ b/tests/examplefiles/example.java @@ -1,12 +1,16 @@ -class _PostUnicodeClassá -{void foo() {} +class _PostUnico$deClassá +{void fo$o() {} - void PostUnicodeFunctioná() {} + void PostUnicodeFunctioná() { + láb$el: + break láb$el; + + } } -class áPreUnicodeClass +class áPreUnicode$Class { public int $foo; public int á$foo; - _PostUnicodeClassá áPreUnicodeFunction() { return null; } + _PostUnico$deClassá áPreUnicodeFunction() { return null; } } -- cgit v1.2.1