summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.reds
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2014-05-05 10:36:34 -0700
committerTim Hatch <tim@timhatch.com>2014-05-05 10:36:34 -0700
commitf81d591b4d2deb5edc4b3090a2f72ea62d3a58c6 (patch)
treecfc796f0e72ab9ba73c482e6e7aa7c64fefe033d /tests/examplefiles/example.reds
parentf16d0dbfaececc1b868c11355f4bca13e06dca53 (diff)
parent9b3c28af7c23dc90e648f439397529b82624d120 (diff)
downloadpygments-f81d591b4d2deb5edc4b3090a2f72ea62d3a58c6.tar.gz
Merged in Oldes/pygments-main/issue-985 (pull request #345)
REBOL comments handling fixed
Diffstat (limited to 'tests/examplefiles/example.reds')
-rw-r--r--tests/examplefiles/example.reds26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/examplefiles/example.reds b/tests/examplefiles/example.reds
index dd4ad0f9..eb92310d 100644
--- a/tests/examplefiles/example.reds
+++ b/tests/examplefiles/example.reds
@@ -109,6 +109,32 @@ foo char
;lit-word:
'foo 'foo
+;multiple comment tests...
+1 + 1
+comment "aa"
+2 + 2
+comment {aa}
+3 + 3
+comment {a^{}
+4 + 4
+comment {{}}
+5 + 5
+comment {
+ foo: 6
+}
+6 + 6
+comment [foo: 6]
+7 + 7
+comment [foo: "[" ]
+8 + 8
+comment [foo: {^{} ]
+9 + 9
+comment [foo: {boo} ]
+10 + 10
+comment 5-May-2014/11:17:34+2:00
+11 + 11
+
+
to-integer foo
foo/(a + 1)/b