Fixed build error.

pull/3/head
yhirose 9 years ago
parent d93682dc56
commit 927ecc5c37
  1. 2
      test/test.cc

@ -454,7 +454,7 @@ TEST_CASE("Calculator test with AST", "[general]")
); );
const int kTagNumber = 0; const int kTagNumber = 0;
parser.enable_ast({ { "NUMBER", kTagNumber } }); parser.enable_ast(true, { { "NUMBER", kTagNumber } });
function<long (const Ast&)> eval = [&](const Ast& ast) { function<long (const Ast&)> eval = [&](const Ast& ast) {
if (ast.tag == kTagNumber) { if (ast.tag == kTagNumber) {

Loading…
Cancel
Save