1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include "../includes/compiler.h" #include "../includes/test.h" #include <malloc.h> #include <stdio.h> #include <string.h> int main(int argc, char *argv[]) { if (argc > 1) { if (strncmp(argv[1], "--test", 7) == 0) { // run tests fputs("Running header test (how does compile_string handle # headers?)\n", stderr); test_compile_line_header_depth(); } } }