diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | bp.c | 4 | ||||
| -rw-r--r-- | compiler.h | 2 | ||||
| -rw-r--r-- | files.c (renamed from file_loader.c) | 4 | ||||
| -rw-r--r-- | files.h (renamed from file_loader.h) | 6 | ||||
| -rw-r--r-- | grammar.c | 2 | ||||
| -rw-r--r-- | grammar.h | 2 | ||||
| -rw-r--r-- | print.c (renamed from printing.c) | 4 | ||||
| -rw-r--r-- | print.h (renamed from printing.h) | 6 | ||||
| -rw-r--r-- | types.h | 2 |
10 files changed, 17 insertions, 17 deletions
@@ -9,7 +9,7 @@ G= O=-O3 ALL_FLAGS=$(CFLAGS) -DBP_NAME="\"$(NAME)\"" $(EXTRA) $(CWARN) $(G) $(O) -CFILES=compiler.c grammar.c utils.c vm.c file_loader.c printing.c json.c +CFILES=compiler.c grammar.c utils.c vm.c files.c print.c json.c OBJFILES=$(CFILES:.c=.o) all: $(NAME) @@ -13,10 +13,10 @@ #include <unistd.h> #include "compiler.h" -#include "file_loader.h" +#include "files.h" #include "grammar.h" #include "json.h" -#include "printing.h" +#include "print.h" #include "utils.h" #include "vm.h" @@ -4,7 +4,7 @@ #ifndef COMPILER__H #define COMPILER__H -#include "file_loader.h" +#include "files.h" #include "types.h" __attribute__((nonnull)) @@ -1,5 +1,5 @@ // -// file_loader.c - Implementation of some file loading functionality. +// files.c - Implementation of some file loading functionality. // #include <ctype.h> @@ -12,7 +12,7 @@ #include <sys/stat.h> #include <unistd.h> -#include "file_loader.h" +#include "files.h" #include "utils.h" __attribute__((nonnull)) @@ -1,8 +1,8 @@ // -// file_loader.h - Definitions of an API for loading files. +// files.h - Definitions of an API for loading files. // -#ifndef FILE_LOADER__H -#define FILE_LOADER__H +#ifndef FILES__H +#define FILES__H #include <stdio.h> @@ -6,7 +6,7 @@ #include <string.h> #include "compiler.h" -#include "file_loader.h" +#include "files.h" #include "grammar.h" #include "utils.h" @@ -4,7 +4,7 @@ #ifndef GRAMMAR__H #define GRAMMAR__H -#include "file_loader.h" +#include "files.h" #include "types.h" __attribute__((nonnull(2,4,5), returns_nonnull)) @@ -1,12 +1,12 @@ // -// printing.c - Code for printing and visualizing matches. +// print.c - Code for printing and visualizing matches. // #include <stdio.h> #include <stdlib.h> #include <string.h> -#include "printing.h" +#include "print.h" #include "types.h" #include "utils.h" #include "vm.h" @@ -1,8 +1,8 @@ // -// Header file for printing.c (printing/visualizing matches) +// Header file for print.c (printing/visualizing matches) // -#ifndef PRINTING__H -#define PRINTING__H +#ifndef PRINT__H +#define PRINT__H #include "types.h" @@ -6,7 +6,7 @@ #include <sys/types.h> -#include "file_loader.h" +#include "files.h" // BP virtual machine pattern types enum pattype_e { |
