Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Jul 23, 2022
1 parent 29e86d5 commit 1ea20ab
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/tests/units/parse-test.r3
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,14 @@ Rebol [
[[1]] = parse [1] [collect [collect set a keep skip]]
a = [1]
]
a: none --assert all [
[[1]] = parse [1] [collect [collect set a [keep skip]]]
a = [1]
]
a: none --assert all [
[[1]] = parse [1] [collect [collect [set a keep skip]]] ;set is not related to collect!
a = 1
]
a: none --assert all [
#[true] = parse [1] [collect set a [collect set a keep skip]]
a = [1]
Expand Down Expand Up @@ -277,6 +285,14 @@ Rebol [
[[#"1"]] = parse "1" [collect [collect set a keep skip]]
a = [#"1"]
]
a: none --assert all [
[[#"1"]] = parse "1" [collect [collect set a [keep skip]]]
a = [#"1"]
]
a: none --assert all [
[[#"1"]] = parse "1" [collect [collect [set a keep skip]]] ;set is not related to collect!
a = #"1"
]
a: none --assert all [
#[true] = parse "1" [collect set a [collect set a keep skip]]
a = [#"1"]
Expand Down

0 comments on commit 1ea20ab

Please sign in to comment.