Refactored tests; make just builds library, make test builds/runs tests

This commit is contained in:
Meredith L. Patterson 2012-11-13 22:29:25 -05:00
parent 236ec733a1
commit de8db18db4
12 changed files with 613 additions and 615 deletions

View file

@ -179,6 +179,20 @@ typedef struct HParserCacheValue_t {
};
} HParserCacheValue;
// This file provides the logical inverse of bitreader.c
struct HBitWriter_ {
uint8_t* buf;
HAllocator *mm__;
size_t index;
size_t capacity;
char bit_offset; // unlike in bit_reader, this is always the number
// of used bits in the current byte. i.e., 0 always
// means that 8 bits are available for use.
char flags;
};
// }}}
// Backends {{{
extern HParserBackendVTable h__packrat_backend_vtable;
// }}}