File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1147
1147
return - TOKEN_WORD ;
1148
1148
1149
1149
case LEX_SPECIAL_LESSER :
1150
- if (IS_LEX_ANY_SPACE (cp [1 ]) || cp [1 ] == ']' || cp [1 ] == 0 ) return TOKEN_WORD ; // CES.9121 Was LEX_DELIMIT - changed for </tag>
1150
+ if (IS_LEX_ANY_SPACE (cp [1 ]) || cp [1 ] == ']' || cp [1 ] == ')' || cp [ 1 ] == 0 ) return TOKEN_WORD ; // CES.9121 Was LEX_DELIMIT - changed for </tag>
1151
1151
1152
1152
if (IS_LEX_DELIMIT (cp [2 ]) && (cp [1 ] == '>' || cp [1 ] == '=' || cp [1 ] == '<' )) {
1153
1153
return TOKEN_WORD ; // common cases: <> <= <<
Original file line number Diff line number Diff line change @@ -429,7 +429,15 @@ Rebol [
429
429
b/1 = <a <b b >
430
430
b/2 = '>
431
431
]
432
-
432
+ --test-- "issue-1317"
433
+ ;@@ https://github.com/Oldes/Rebol-issues/issues/1317
434
+ --assert '< = transcode/one/error "<]>"
435
+ --assert '< = transcode/one/error "<)>"
436
+ --assert <a > = transcode/one/error "<a>"
437
+ --assert [< ] = transcode/one/error "[<]"
438
+ --assert block? try [load "[(<)]" ]
439
+ --assert error? try [load "<)>" ]
440
+ --assert error? try [load "<]>" ]
433
441
434
442
===end-group===
435
443
@@ -646,7 +654,7 @@ Rebol [
646
654
--test-- "NULLs inside loaded string"
647
655
;@@ https://github.com/Oldes/Rebol3/commit/6f59240d7d4379a50fec29c4e74290ad61ba73ba
648
656
out: ""
649
- --assert try /except [
657
+ --assert try /with [
650
658
;- using CALL as it could be reproduced only when the internal buffer is being extended durring load
651
659
data: make string! 40000
652
660
insert /dup data "ABCD" 10000
You can’t perform that action at this time.
0 commit comments