minor cosmetics
This commit is contained in:
parent
fdcfc243b8
commit
1c8764e1da
2 changed files with 1 additions and 2 deletions
|
|
@ -47,7 +47,6 @@ HParseResult* h_parse(const HParser* parser, const uint8_t* input, size_t length
|
|||
return h_parse__m(&system_allocator, parser, input, length);
|
||||
}
|
||||
HParseResult* h_parse__m(HAllocator* mm__, const HParser* parser, const uint8_t* input, size_t length) {
|
||||
// TODO: split the creation of the parse state into h_packrat_parse
|
||||
// Set up a parse state...
|
||||
HInputStream input_stream = {
|
||||
.index = 0,
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ struct HParseState_ {
|
|||
|
||||
typedef struct HParserBackendVTable_ {
|
||||
int (*compile)(HAllocator *mm__, HParser* parser, const void* params);
|
||||
HParseResult* (*parse)(HAllocator *mm__, const HParser* parser, HInputStream* parse_state);
|
||||
HParseResult* (*parse)(HAllocator *mm__, const HParser* parser, HInputStream* stream);
|
||||
void (*free)(HParser* parser);
|
||||
} HParserBackendVTable;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue