Added framework for implementing HParser-to-RVM compiler

This commit is contained in:
Dan Hirsch 2013-03-17 19:56:43 -07:00
parent 4862dd244d
commit 4c2a536151
2 changed files with 16 additions and 1 deletions

View file

@ -2,6 +2,7 @@
#define HAMMER_PARSE_INTERNAL__H
#include "../hammer.h"
#include "../internal.h"
#include "../backends/regex.h"
#define a_new_(arena, typ, count) ((typ*)h_arena_malloc((arena), sizeof(typ)*(count)))
#define a_new(typ, count) a_new_(state->arena, typ, count)