Ready to rebase
This commit is contained in:
14
src/runner.h
14
src/runner.h
@ -91,3 +91,17 @@ char *COLOR_LIGHTBLUE = "\033[1;34m";
|
||||
char *COLOR_LIGHTPURPLE = "\033[1;35m";
|
||||
char *COLOR_LIGHTCYAN = "\033[1;36m";
|
||||
char *COLOR_WHITE = "\033[1;37m";
|
||||
|
||||
typedef struct CodeLine {
|
||||
char *line;
|
||||
int line_number;
|
||||
bool is_error;
|
||||
struct CodeLine *next;
|
||||
} CodeLine;
|
||||
|
||||
CodeLine *code_head;
|
||||
|
||||
char *file_read_line(FILE *fp);
|
||||
void insert_code_line(char *line, int line_number);
|
||||
void append_code_line(CodeLine *code_line);
|
||||
void print_code_lines();
|
Reference in New Issue
Block a user