Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/FlexLexer.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ class yyFlexLexer : public FlexLexer {
int yy_did_buffer_switch_on_eof;


size_t yy_buffer_stack_top; /**< index of top of stack. */
size_t yy_buffer_stack_max; /**< capacity of stack. */
std::size_t yy_buffer_stack_top; /**< index of top of stack. */
std::size_t yy_buffer_stack_max; /**< capacity of stack. */
struct yy_buffer_state ** yy_buffer_stack; /**< Stack as an array. */
void yyensure_buffer_stack(void);

Expand Down
2 changes: 1 addition & 1 deletion src/json_scanner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;

#ifndef YY_TYPEDEF_YY_SIZE_T
#define YY_TYPEDEF_YY_SIZE_T
typedef size_t yy_size_t;
typedef std::size_t yy_size_t;
#endif

extern yy_size_t yyleng;
Expand Down