Fixed build errors

This commit is contained in:
yhirose 2018-09-04 21:06:38 -04:00
parent fc03a32d1f
commit fe3ae84736

View File

@ -174,11 +174,11 @@ TEST_CASE("enter/leave handlers test", "[general]")
TOKEN <- [A-Za-z]+
)");
parser["LTOKEN"].enter = [&](any& dt) {
parser["LTOKEN"].enter = [&](const char*, size_t, any& dt) {
auto& require_upper_case = *dt.get<bool*>();
require_upper_case = false;
};
parser["LTOKEN"].leave = [&](any& dt) {
parser["LTOKEN"].leave = [&](const char*, size_t, size_t, any&, any& dt) {
auto& require_upper_case = *dt.get<bool*>();
require_upper_case = true;
};