Skip to content

Commit

Permalink
sqlcode.l does not compile in LEX debug mode
Browse files Browse the repository at this point in the history
Correction for debug mode in sqlcode.l
  • Loading branch information
albert-github committed Jan 12, 2021
1 parent 735203d commit 4ae09f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sqlcode.l
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ SQLCodeParser::SQLCodeParser() : p(std::make_unique<Private>())
{
sqlcodeYYlex_init_extra(&p->state, &p->yyscanner);
#ifdef FLEX_DEBUG
sqlcodeYYset_debug(1,yyscanner);
sqlcodeYYset_debug(1,p->yyscanner);
#endif
resetCodeParserState();
}
Expand Down

0 comments on commit 4ae09f2

Please sign in to comment.