diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-02-07 00:17:17 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-02-07 00:20:29 -0800 |
commit | 74f1512ff113cf35706af57e9d40c78b7d77f49e (patch) | |
tree | 7c7acb23e1a26387117e464ec6ab01126dbc8ae8 /apps/rpn.mu | |
parent | 6c4c25555c7df0d78ad41c813345f63cae1819de (diff) | |
download | mu-74f1512ff113cf35706af57e9d40c78b7d77f49e.tar.gz |
7690
Convert comments about magic constants into metadata.
Diffstat (limited to 'apps/rpn.mu')
-rw-r--r-- | apps/rpn.mu | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/rpn.mu b/apps/rpn.mu index b1c66021..762d9605 100644 --- a/apps/rpn.mu +++ b/apps/rpn.mu @@ -29,11 +29,11 @@ fn main -> _/ebx: int { var in-storage: (stream byte 0x100) var in/esi: (addr stream byte) <- address in-storage - print-string 0, "press ctrl-c or ctrl-d to exit\n" + print-string 0/screen, "press ctrl-c or ctrl-d to exit\n" # read-eval-print loop { # print prompt - print-string 0, "> " + print-string 0/screen, "> " # read line clear-stream in read-line-from-real-keyboard in @@ -43,8 +43,8 @@ fn main -> _/ebx: int { # parse and eval var out/eax: int <- simplify in # print - print-int32-decimal 0, out - print-string 0, "\n" + print-int32-decimal 0/screen, out + print-string 0/screen, "\n" # loop } |