diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-03 21:12:15 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-03 21:15:30 +0000 |
commit | b8f6232bb266bc895267f8dde700aa67a91207d6 (patch) | |
tree | 126d98013c4713d9f6d8e526f28bce671c183d7c /asm/parser.h | |
parent | 92f4f9011d431f9c197aff56a3dbb8a3963b4197 (diff) | |
download | ovm-b8f6232bb266bc895267f8dde700aa67a91207d6.tar.gz ovm-b8f6232bb266bc895267f8dde700aa67a91207d6.tar.bz2 ovm-b8f6232bb266bc895267f8dde700aa67a91207d6.zip |
Refactor assembler to use prog_t structure
Set the program structure correctly with a header using the parsed
global instruction.
Diffstat (limited to 'asm/parser.h')
-rw-r--r-- | asm/parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asm/parser.h b/asm/parser.h index b0091d2..7aea7a2 100644 --- a/asm/parser.h +++ b/asm/parser.h @@ -59,7 +59,7 @@ typedef struct label_t search_labels(label_t *, size_t, char *); perr_t parse_next(token_stream_t *, presult_t *); -perr_t process_presults(presult_t *, size_t, inst_t **, size_t *); -perr_t parse_stream(token_stream_t *, inst_t **, size_t *); +perr_t process_presults(presult_t *, size_t, prog_t **); +perr_t parse_stream(token_stream_t *, prog_t **); #endif |