diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2018-02-01 12:01:25 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2018-02-01 12:01:25 -0500 |
commit | 0c3901b3a87c4c37fdd61d115d87ee6c753b4576 (patch) | |
tree | d0efae0e3934451164e1a63563baa57873381759 /parser.h | |
parent | 3b6bcc0e6e0ab19116970ef10bef19d49436e1c2 (diff) |
jumps and functions
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -10,6 +10,9 @@ typedef struct { char **vnames; stack_t *stack; uint32_t stidx; + char **lines; + uint32_t lnidx; + uint8_t indent; } interpreter; typedef void (*func_t)(interpreter *); @@ -23,6 +26,7 @@ void inew_cfunc(interpreter *, const char *, func_t); int idoline(interpreter *, const char *); +variable *igetarg(interpreter *, uint32_t); char *igetarg_string(interpreter *, uint32_t); int igetarg_integer(interpreter *, uint32_t); float igetarg_float(interpreter *, uint32_t); |