diff options
| author | Irene Knapp <ireneista@irenes.space> | 2026-09-20 21:41:07 -0700 |
|---|---|---|
| committer | Irene Knapp <ireneista@irenes.space> | 2026-09-20 21:41:07 -0700 |
| commit | f7a320e19422bef7021bf03b3362b6c6c05c548f (patch) | |
| tree | 3a8166da01eec126a59bc232edadd96fcfb67f8f | |
| parent | 3275f7932b3f109d798b9303b1e3bfc052a48d4d (diff) | |
fresh line for alignment padding comments
this fixes the thing where, if alignment padding was zero-length, the comment could wind up on the same line as the preceding thingy, causing confusion Force-Push: yes Change-Id: Ie7490370bf66a2f9b82df584236320bd88338e39
| -rw-r--r-- | core.e | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core.e b/core.e index 4394fd8..4648f9d 100644 --- a/core.e +++ b/core.e @@ -1222,8 +1222,9 @@ here ! ~ (output point, alignment byte width -- output point) : packalign - ~ It's possible the padding will be of length zero, so we have to put the - ~ magic comment provide-* command first. + ~ It's possible the padding will be of length zero; keep that in mind + ~ while maintaining these magic comments, as it comes up in several ways. + ~ : fresh-line ~ : 0 #-- (alignment padding) { 2dup /% drop { drop exit } unless swap 0 pack8 swap |