From ee04f72b83ecd869148d57871af570fc704951ec Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sat, 30 Jul 2016 18:30:00 +0200 Subject: Third --- code.txt | 2 ++ iets.txt | 2 -- parser.c | 6 ++++++ parser.h | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 code.txt delete mode 100644 iets.txt diff --git a/code.txt b/code.txt new file mode 100644 index 0000000..471fb1b --- /dev/null +++ b/code.txt @@ -0,0 +1,2 @@ +a = 1; +b = 2; diff --git a/iets.txt b/iets.txt deleted file mode 100644 index 471fb1b..0000000 --- a/iets.txt +++ /dev/null @@ -1,2 +0,0 @@ -a = 1; -b = 2; diff --git a/parser.c b/parser.c index c1bedeb..421a044 100644 --- a/parser.c +++ b/parser.c @@ -1,4 +1,10 @@ #include #include +#include "parser.h" + +AST* parse(const char *source){ + (void)source; + return NULL; +} diff --git a/parser.h b/parser.h index d5f4978..40bbc8d 100644 --- a/parser.h +++ b/parser.h @@ -1,5 +1,6 @@ #pragma once +#include #include typedef enum ASTtype{ -- cgit v1.2.3-70-g09d2