Move reusable node functions to their own file

This commit is contained in:
Max Brunsfeld 2017-01-05 10:06:43 -08:00
parent 12cd2132ff
commit 3a4daace26
5 changed files with 76 additions and 54 deletions

View file

@ -8,13 +8,9 @@ extern "C" {
#include "runtime/stack.h"
#include "runtime/array.h"
#include "runtime/lexer.h"
#include "runtime/reusable_node.h"
#include "runtime/reduce_action.h"
typedef struct {
Tree *tree;
uint32_t byte_index;
} ReusableNode;
typedef struct {
Lexer lexer;
Stack *stack;