diff options
author | Tim Gilbert <timgilbert@gmail.com> | 2014-04-16 18:46:50 -0400 |
---|---|---|
committer | Tim Gilbert <timgilbert@gmail.com> | 2014-04-16 18:46:50 -0400 |
commit | 70a10a2e423d9729b62c7b56faca28889c0d688a (patch) | |
tree | ea48b2c97ef681f5fd95ceec8f4a2a99f7e9f359 /tests/examplefiles/clojure-weird-keywords.clj | |
parent | 84b7c8aca975566dde86fc90a23d49353e534265 (diff) | |
download | pygments-70a10a2e423d9729b62c7b56faca28889c0d688a.tar.gz |
Tweaking clojure keyword lexing
Diffstat (limited to 'tests/examplefiles/clojure-weird-keywords.clj')
-rw-r--r-- | tests/examplefiles/clojure-weird-keywords.clj | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/examplefiles/clojure-weird-keywords.clj b/tests/examplefiles/clojure-weird-keywords.clj new file mode 100644 index 00000000..2d914c59 --- /dev/null +++ b/tests/examplefiles/clojure-weird-keywords.clj @@ -0,0 +1,5 @@ +; Note, clojure lexer is here (and is a good deal more liberal than the language spec: +; https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/LispReader.java#L62 + +(defn valid [#^java.lang.reflect.Method meth] + [:keyword :#initial-hash :h#sh-in-middle :hash-at-end# #js {:keyword "value"}]) |