aboutsummaryrefslogtreecommitdiff
path: root/Converter/includes
diff options
context:
space:
mode:
Diffstat (limited to 'Converter/includes')
-rw-r--r--Converter/includes/compiler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Converter/includes/compiler.h b/Converter/includes/compiler.h
index 3b89b49..df9c9b1 100644
--- a/Converter/includes/compiler.h
+++ b/Converter/includes/compiler.h
@@ -2,9 +2,14 @@
#define __COMPILER_H_
#include <stdlib.h>
+#include <stdbool.h>
typedef char *string;
+const static char TOKENS[] = {'*', '_'};
+const static size_t N_TOKENS = 2;
+
string compile_line(string line, size_t sz_line, string line_or_source);
int find_string(string src, string query, size_t sz_src, size_t sz_query);
+bool is_token(char c);
#endif // __COMPILER_H_