diff options
author | Georg Brandl <georg@python.org> | 2014-09-16 10:00:47 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-09-16 10:00:47 +0200 |
commit | c75b6f25aeed25ffe8658d9f37614b1069cf299c (patch) | |
tree | 7a071f6322ceae64018566337fbab4d17035c958 /tests | |
parent | a180cc3373345b3cb0ddecf14bcc31a1a1e53d51 (diff) | |
parent | 0d9f70215c44a27ea10e4759300464873b618a10 (diff) | |
download | pygments-c75b6f25aeed25ffe8658d9f37614b1069cf299c.tar.gz |
Merged in andyli/pygments-main (pull request #391)
HaxeLexer fix
Diffstat (limited to 'tests')
-rw-r--r-- | tests/examplefiles/example.hx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/examplefiles/example.hx b/tests/examplefiles/example.hx index 381cf825..7584fc81 100644 --- a/tests/examplefiles/example.hx +++ b/tests/examplefiles/example.hx @@ -181,5 +181,12 @@ var c = macro class MyClass { var c = macro interface IClass {}; +//macro class could have no name... +var def = macro class { + private inline function new(loader) this = loader; + private var loader(get,never) : $loaderType; + inline private function get_loader() : $loaderType return this; +}; + //ECheckType var f = (123:Float);
\ No newline at end of file |