rename H_MAKE to H_ALLOC
This commit is contained in:
parent
dc037e6c28
commit
ef17e42ec8
4 changed files with 15 additions and 15 deletions
|
|
@ -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) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue