diff --git a/.gitignore b/.gitignore index cb36b61..e88b119 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,6 @@ a.out config src/codegen.c .session.mk + +# vscode C/C++ plugin generated files +.vscode diff --git a/src/globals.c b/src/globals.c index 992bb78..b6631df 100644 --- a/src/globals.c +++ b/src/globals.c @@ -5,6 +5,9 @@ * file "LICENSE" for information on usage and redistribution of this file. */ +#include +#include + /* Global objects */ block_list_t BLOCKS; diff --git a/src/lexer.c b/src/lexer.c index f23517d..4933ea6 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -5,6 +5,8 @@ * file "LICENSE" for information on usage and redistribution of this file. */ +#include + /* lexer tokens */ typedef enum { T_start, /* FIXME: it was intended to start the state machine. */ diff --git a/src/parser.c b/src/parser.c index 862fe4a..1c34186 100644 --- a/src/parser.c +++ b/src/parser.c @@ -5,6 +5,9 @@ * file "LICENSE" for information on usage and redistribution of this file. */ +#include +#include + /* C language syntactic analyzer */ int global_var_idx = 0; int global_label_idx = 0;