diff options
Diffstat (limited to 'cccl.h')
| -rw-r--r-- | cccl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cccl.h b/cccl.h index 8bf3d0c..a49ac8a 100644 --- a/cccl.h +++ b/cccl.h @@ -2,6 +2,7 @@ #define __CCCL_H__ #include <stddef.h> +#include <stdio.h> #define TOKENS_LIMIT 16384 @@ -98,7 +99,7 @@ void cccl(struct cccl_File file); size_t cccl_tokenize(const char *code, size_t size, struct cccl_Token tokens[], size_t tokens_length); struct cccl_Node *cccl_parse(struct cccl_Token tokens[], size_t tokens_length, enum cccl_NodeType type, char value); enum cccl_ExecutorStatus cccl_execute(struct cccl_Node *code, struct cccl_Variables *scope, size_t depth); -void cccl_dump(void); +void cccl_dump(FILE *f); const char *strtoken(enum cccl_TokenType type); const char *strnode(enum cccl_NodeType type); |