mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 20:05:31 +00:00
Fixed build error.
This commit is contained in:
parent
d93682dc56
commit
927ecc5c37
@ -454,7 +454,7 @@ TEST_CASE("Calculator test with AST", "[general]")
|
||||
);
|
||||
|
||||
const int kTagNumber = 0;
|
||||
parser.enable_ast({ { "NUMBER", kTagNumber } });
|
||||
parser.enable_ast(true, { { "NUMBER", kTagNumber } });
|
||||
|
||||
function<long (const Ast&)> eval = [&](const Ast& ast) {
|
||||
if (ast.tag == kTagNumber) {
|
||||
|
Loading…
Reference in New Issue
Block a user