summaryrefslogtreecommitdiff
path: root/asmmon.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2021-05-08 12:55:21 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2021-05-08 12:55:21 -0400
commit11ec62df93c86bda4100bcdd712c4406a68dd149 (patch)
treec75bee104963ab2b3872a7c9c08c3ee05d34b2b8 /asmmon.h
parent5db9af7b0d1d027b9325b45917ab46beaa52d5a0 (diff)
Add support for saving to a string buffer in
parse_quote(). This allows for replacing the string parsing code in handle_directive() with a call to parse_quote().
Diffstat (limited to 'asmmon.h')
-rw-r--r--asmmon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/asmmon.h b/asmmon.h
index 1be290d..fd52770 100644
--- a/asmmon.h
+++ b/asmmon.h
@@ -852,6 +852,7 @@ extern uint8_t defined;
extern uint8_t isfixup;
extern line *find_line(uint32_t ln, uint8_t dbg);
+extern uint64_t parse_quote(char **s, char delm, int get_value, uint8_t *buf, uint8_t dbg);
extern uint64_t lex(char *str, uint64_t address, uint16_t bline, uint8_t dbg);
extern uint64_t get_val(expr *tree, uint64_t addr, uint8_t size, int depth, uint8_t dbg);
extern token *skip_expr(token *t, uint8_t end_expr, uint8_t stop_comma, uint8_t dbg);