diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-02-22 06:35:59 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-02-22 06:35:59 -0800 |
commit | bddd7e3ad9a51dd5abe6c031d4d4630e450f77d5 (patch) | |
tree | 28a72b2ccd185f2ca0340cfec57876f7d7d1aa06 /subx/058stream-equal.subx | |
parent | e99038ea514a8703b170689d5a0730c8d2e542e7 (diff) | |
download | mu-bddd7e3ad9a51dd5abe6c031d4d4630e450f77d5.tar.gz |
4983
Standardize name for 'end of file' sentinel. `eof` seems like an ordinary variable, and `EOF` looks too much like a register (particularly in code like `if (EAX == EOF)`), so we'll go with `Eof`. Consistent capitalization for globals, and constants are globals too.
Diffstat (limited to 'subx/058stream-equal.subx')
-rw-r--r-- | subx/058stream-equal.subx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/058stream-equal.subx b/subx/058stream-equal.subx index ee04d4eb..88a09d9c 100644 --- a/subx/058stream-equal.subx +++ b/subx/058stream-equal.subx @@ -588,7 +588,7 @@ test-next-stream-line-equal-handles-final-line: 5d/pop-to-EBP c3/return -test-next-stream-line-equal-always-fails-after-eof: +test-next-stream-line-equal-always-fails-after-Eof: # . prolog 55/push-EBP 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP @@ -610,7 +610,7 @@ test-next-stream-line-equal-always-fails-after-eof: 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP # check-ints-equal(EAX, 0, msg) # . . push args - 68/push "F - test-next-stream-line-equal-always-fails-after-eof"/imm32 + 68/push "F - test-next-stream-line-equal-always-fails-after-Eof"/imm32 68/push 1/imm32 50/push-EAX # . . call @@ -627,7 +627,7 @@ test-next-stream-line-equal-always-fails-after-eof: 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP # check-ints-equal(EAX, 0, msg) # . . push args - 68/push "F - test-next-stream-line-equal-always-fails-after-eof/2"/imm32 + 68/push "F - test-next-stream-line-equal-always-fails-after-Eof/2"/imm32 68/push 1/imm32 50/push-EAX # . . call |