Handle non-seekable input correctly

This commit is contained in:
Jakub Kądziołka
2019-06-05 20:25:24 +02:00
parent 20f9492899
commit 8d5a53f529
2 changed files with 26 additions and 12 deletions

View File

@@ -31,7 +31,7 @@ struct yy_buffer_state {
/* Address where the data is initially written after a safety margin */
char *pBufferStart;
char *pBuffer;
uint32_t nBufferSize;
size_t nBufferSize;
uint32_t oAtLineStart;
};