modern.out: Fix nested stack effects.

locals-and-roots
Doug Coleman 2016-06-06 11:10:01 -07:00
parent 82a1142c41
commit f05418b338
2 changed files with 4 additions and 1 deletions

View File

@ -54,3 +54,6 @@ in: modern.out.tests
*/
! lexable-paths [ transform-single-line-comment>hash-comment ] rewrite-paths
{ t }
[ "( a: ( quot: ( b -- c ) -- d ) -- e )" [ [ ] rewrite-string ] keep sequence= ] unit-test

View File

@ -33,7 +33,7 @@ M: single-matched-literal write-literal
[ tag>> write ]
[ seq>> 1 swap nth write-whitespace ]
[ delimiter>> write ]
[ payload>> [ write-literal ] each ] ! don't need write-whitespace here, the recursion does it
[ payload>> write-literal ] ! don't need write-whitespace here, the recursion does it
[ seq>> 3 swap nth lexed-underlying write-whitespace ]
[ closing-tag>> write ]
} cleave ;