prettyprinter regression fix
parent
416834a0c9
commit
1d168352f9
|
@ -1,7 +1,6 @@
|
|||
- reader syntax for arrays, byte arrays, displaced aliens
|
||||
- out of memory error when printing global namespace
|
||||
- removing unneeded #label
|
||||
- pprint trailing space regression
|
||||
- finish scrollbars
|
||||
- fix up the min thumb size hack
|
||||
|
||||
|
|
|
@ -117,9 +117,12 @@ C: newline ( -- section )
|
|||
M: newline pprint-section* ( newline -- )
|
||||
section-start fresh-line ;
|
||||
|
||||
: advance ( section -- )
|
||||
section-start last-newline get = [ " " write ] unless ;
|
||||
|
||||
M: block pprint-section* ( block -- )
|
||||
f swap block-sections [
|
||||
over [ " " write ] when pprint-section drop t
|
||||
over [ dup advance ] when pprint-section drop t
|
||||
] each drop ;
|
||||
|
||||
: <block ( -- ) <block> pprinter get pprinter-stack push ;
|
||||
|
|
Loading…
Reference in New Issue