diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-07-31 17:33:32 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-07-31 17:34:30 -0700 |
commit | 0b4e8494d61a89e010ccadc7121724643fd7da50 (patch) | |
tree | 4eaa96941002dcd08104424e01dd6ab72bc5fcd3 /apps/pack.subx | |
parent | 070d5f2fc883c7253ac420caf2b3592e6b57b13d (diff) | |
download | mu-0b4e8494d61a89e010ccadc7121724643fd7da50.tar.gz |
desugar: clean up top-level `convert`
Model it on `dquotes` rather than `pack`, since it needs almost zero state across words. Manual testing: $ echo 'ab %eax' |subx run apps/desugar ab 0
Diffstat (limited to 'apps/pack.subx')
-rw-r--r-- | apps/pack.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pack.subx b/apps/pack.subx index 61a837ba..00263af4 100644 --- a/apps/pack.subx +++ b/apps/pack.subx @@ -58,7 +58,7 @@ $run-main: # configure ed to really exit() # . ed->target = 0 c7 0/subop/copy 0/mod/direct 0/rm32/EAX . . . . . 0/imm32 # copy to *EAX - # return convert(Stdin, 1/stdout, 2/stderr, ed) + # return convert(Stdin, Stdout, Stderr, ed) # . . push args 50/push-EAX/ed 68/push Stderr/imm32 |