Renamed vm->match
This commit is contained in:
parent
77b33d6a3c
commit
270509af3b
2
Makefile
2
Makefile
@ -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)
|
||||
|
2
bp.c
2
bp.c
@ -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>
|
||||
|
2
print.c
2
print.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user