diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | bp.c | 2 | ||||
| -rw-r--r-- | match.c (renamed from vm.c) | 4 | ||||
| -rw-r--r-- | match.h (renamed from vm.h) | 6 | ||||
| -rw-r--r-- | print.c | 2 | ||||
| -rw-r--r-- | utils.h | 2 |
6 files changed, 9 insertions, 9 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 files.c print.c json.c +CFILES=compiler.c grammar.c utils.c match.c files.c print.c json.c OBJFILES=$(CFILES:.c=.o) all: $(NAME) @@ -18,7 +18,7 @@ #include "json.h" #include "print.h" #include "utils.h" -#include "vm.h" +#include "match.h" #ifndef BP_NAME #define BP_NAME "bp" @@ -1,5 +1,5 @@ // -// vm.c - Code for the BP virtual machine that performs the matching. +// match.c - Code for the BP virtual machine that performs the matching. // #include <ctype.h> @@ -10,7 +10,7 @@ #include "grammar.h" #include "types.h" #include "utils.h" -#include "vm.h" +#include "match.h" #ifdef DEBUG_HEAP // Doubly-linked list operations: @@ -1,8 +1,8 @@ // -// vm.h - Header file for BP virtual machine. +// match.h - Header file for BP virtual machine. // -#ifndef VM__H -#define VM__H +#ifndef MATCH__H +#define MATCH__H #include <stdio.h> @@ -9,7 +9,7 @@ #include "print.h" #include "types.h" #include "utils.h" -#include "vm.h" +#include "match.h" typedef struct match_node_s { match_t *m; @@ -8,7 +8,7 @@ #include <string.h> #include <unistd.h> -#include "vm.h" +#include "match.h" #define streq(a, b) (strcmp(a, b) == 0) // TODO: better error reporting |
