summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Hoelz <rob@hoelz.ro>2013-03-23 14:00:21 +0100
committerRob Hoelz <rob@hoelz.ro>2013-03-23 14:00:21 +0100
commitf54e962d4aaa32f55dbe4bc8e95b166b6fc8bdb4 (patch)
tree118263e9e3b56328f4a4c45c621668b8fcca1762 /tests
parent30a5efe022916dda67316b36ee4fd9fc72aa7aee (diff)
downloadpygments-f54e962d4aaa32f55dbe4bc8e95b166b6fc8bdb4.tar.gz
Test that ? and ? may be used as bracketing characters for :sym
Diffstat (limited to 'tests')
-rw-r--r--tests/examplefiles/grammar-test.p64
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/examplefiles/grammar-test.p6 b/tests/examplefiles/grammar-test.p6
index 6b52b91e..28107f3e 100644
--- a/tests/examplefiles/grammar-test.p6
+++ b/tests/examplefiles/grammar-test.p6
@@ -9,6 +9,10 @@ token pod_string {
<pod_string_character>+
}
+token something:sym«<» {
+ <!>
+}
+
token name {
<!>
}