diff options
author | Matth?us G. Chajdas <dev@anteru.net> | 2019-04-28 17:14:55 +0200 |
---|---|---|
committer | Matth?us G. Chajdas <dev@anteru.net> | 2019-04-28 17:14:55 +0200 |
commit | 075e65ed4e4424c121f7c70e0db9d2ff9e7895f8 (patch) | |
tree | 96a0258bb183c47904d10b61d478f51bd9916a64 /tests | |
parent | 373d770eae7682a785fa3417f96979789199393d (diff) | |
download | pygments-075e65ed4e4424c121f7c70e0db9d2ff9e7895f8.tar.gz |
Add TOML example file and improve the lexer a bit.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/examplefiles/example.toml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/examplefiles/example.toml b/tests/examplefiles/example.toml new file mode 100644 index 00000000..40832c22 --- /dev/null +++ b/tests/examplefiles/example.toml @@ -0,0 +1,15 @@ +name = "TOML sample file" + +[section] +key = "value" +literal_string = 'C:\test' +other_string = '''value''' +list = [1, 2, 3] +nested_list = [ [1, 2], [3, 4] ] +float_variable = 13.37 + + [section.nested] + boolean_variable = false + date_variable = 1969-97-24T16:50:35-00:00 + +# Comment
\ No newline at end of file |