forgot to allocate the carray in h_make_seq (oops)
This commit is contained in:
parent
3df4030bf8
commit
54046e25da
1 changed files with 3 additions and 1 deletions
|
|
@ -83,7 +83,9 @@ HParsedToken *h_make_(HArena *arena, HTokenType type)
|
||||||
|
|
||||||
HParsedToken *h_make_seq(HArena *arena)
|
HParsedToken *h_make_seq(HArena *arena)
|
||||||
{
|
{
|
||||||
return h_make_(arena, TT_SEQUENCE);
|
HParsedToken *ret = h_make_(arena, TT_SEQUENCE);
|
||||||
|
ret->seq = h_carray_new(arena);
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
HParsedToken *h_make(HArena *arena, HTokenType type, void *value)
|
HParsedToken *h_make(HArena *arena, HTokenType type, void *value)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue