summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.java
diff options
context:
space:
mode:
authorGaurav Jain <gaurav@gauravjain.org>2014-05-12 23:03:21 -0400
committerGaurav Jain <gaurav@gauravjain.org>2014-05-12 23:03:21 -0400
commit51d5e12de5378483a19209abd873f9932fd65458 (patch)
treed747510d2d1a7f6443711234379e8c02919d0933 /tests/examplefiles/example.java
parent16b39eea26af87813151b03992f2ed4738057eaa (diff)
downloadpygments-51d5e12de5378483a19209abd873f9932fd65458.tar.gz
Add support for unicode letters in Java identifiers
Additionally, allow $ in middle of variable names
Diffstat (limited to 'tests/examplefiles/example.java')
-rw-r--r--tests/examplefiles/example.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/examplefiles/example.java b/tests/examplefiles/example.java
new file mode 100644
index 00000000..4dda8508
--- /dev/null
+++ b/tests/examplefiles/example.java
@@ -0,0 +1,13 @@
+class _PostUnicodeClassá
+{
+
+ void PostUnicodeFunctioná() {}
+}
+
+class áPreUnicodeClass
+{
+
+ public int $foo;
+ public int á$foo;
+ _PostUnicodeClassá áPreUnicodeFunction() { return null; }
+}