Minor doc fixes
This commit is contained in:
parent
b7bceff748
commit
07fdbb81f3
@ -30,7 +30,7 @@ struct gmio_stringstream gmio_stringstream(
|
|||||||
void gmio_stringstream_init_pos(struct gmio_stringstream *sstream)
|
void gmio_stringstream_init_pos(struct gmio_stringstream *sstream)
|
||||||
{
|
{
|
||||||
/* Trick: declaring the buffer exhausted will actually trigger the first
|
/* Trick: declaring the buffer exhausted will actually trigger the first
|
||||||
* call to gmio_stream_read() inside gmio_next_char()
|
* call to gmio_stream_read() inside gmio_stringstream_next_char()
|
||||||
*/
|
*/
|
||||||
sstream->strbuff.len = 0;
|
sstream->strbuff.len = 0;
|
||||||
sstream->strbuff_end = sstream->strbuff.ptr;
|
sstream->strbuff_end = sstream->strbuff.ptr;
|
||||||
|
@ -438,7 +438,8 @@ int gmio_stla_eat_next_token_inplace(
|
|||||||
}
|
}
|
||||||
|
|
||||||
int gmio_stla_eat_until_token(
|
int gmio_stla_eat_until_token(
|
||||||
struct gmio_stla_parse_data* data, const enum gmio_stla_token* end_tokens)
|
struct gmio_stla_parse_data* data,
|
||||||
|
const enum gmio_stla_token* end_tokens)
|
||||||
{
|
{
|
||||||
if (!stla_token_match_candidate(data->token, end_tokens)) {
|
if (!stla_token_match_candidate(data->token, end_tokens)) {
|
||||||
struct gmio_stringstream* sstream = &data->strstream;
|
struct gmio_stringstream* sstream = &data->strstream;
|
||||||
|
Loading…
Reference in New Issue
Block a user