diff options
Diffstat (limited to 'prototypes/browse/11.mu')
-rw-r--r-- | prototypes/browse/11.mu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/prototypes/browse/11.mu b/prototypes/browse/11.mu index af1ee45a..e3083c09 100644 --- a/prototypes/browse/11.mu +++ b/prototypes/browse/11.mu @@ -1,7 +1,7 @@ # The current organization doesn't really work for the next feature (section # headings) so let's inline attribute-handling. -fn main args: (addr array (addr array byte)) -> exit-status/ebx: int { +fn main args: (addr array addr array byte) -> exit-status/ebx: int { var filename/eax: (addr array byte) <- first-arg args var file/esi: (addr buffered-file) <- load-file filename enable-screen-grid-mode @@ -148,8 +148,8 @@ fn clear toprow: int, leftcol: int, botrow: int, rightcol: int { } } -fn first-arg args-on-stack: (addr array (addr array byte)) -> out/eax: (addr array byte) { - var args/eax: (addr array (addr array byte)) <- copy args-on-stack +fn first-arg args-on-stack: (addr array addr array byte) -> out/eax: (addr array byte) { + var args/eax: (addr array addr array byte) <- copy args-on-stack var result/eax: (addr addr array byte) <- index args, 1 out <- copy *result } |