formatting
This commit is contained in:
parent
d81d820dca
commit
fdcfc243b8
1 changed files with 5 additions and 5 deletions
|
|
@ -205,11 +205,11 @@ HParseResult *h_llk_parse(HAllocator* mm__, const HParser* parser, HInputStream*
|
||||||
while(!h_slist_empty(stack)) {
|
while(!h_slist_empty(stack)) {
|
||||||
// fill up lookahead buffer as required
|
// fill up lookahead buffer as required
|
||||||
if(lookahead == 0) {
|
if(lookahead == 0) {
|
||||||
uint8_t c = h_read_bits(stream, 8, false);
|
uint8_t c = h_read_bits(stream, 8, false);
|
||||||
if(stream->overrun)
|
if(stream->overrun)
|
||||||
lookahead = end_token;
|
lookahead = end_token;
|
||||||
else
|
else
|
||||||
lookahead = char_token(c);
|
lookahead = char_token(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
// pop top of stack for inspection
|
// pop top of stack for inspection
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue