rename H_MAKE to H_ALLOC

This commit is contained in:
Sven M. Hallberg 2013-01-23 18:17:17 +01:00
parent dc037e6c28
commit ef17e42ec8
4 changed files with 15 additions and 15 deletions

View file

@ -48,7 +48,7 @@ const HParsedToken *h_act_flatten(const HParseResult *p);
HParsedToken *h_make_token(HArena *arena, HTokenType type, void *value);
HParsedToken *h_make_token_seq(HArena *arena);
#define H_MAKE(TYP) \
#define H_ALLOC(TYP) \
((TYP *) h_arena_malloc(p->arena, sizeof(TYP)))
#define H_MAKE_TOKEN(TYP, VAL) \