From 8085b69c0fb7ff3502823b5078a190fd64c835f1 Mon Sep 17 00:00:00 2001 From: Arash Partow Date: Mon, 16 Apr 2018 08:26:02 +1000 Subject: [PATCH] C++ Mathematical Expression And Parsing Library http://www.partow.net/programming/exprtk/index.html --- exprtk_simple_example_08.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exprtk_simple_example_08.cpp b/exprtk_simple_example_08.cpp index b033ab3..1c2d552 100644 --- a/exprtk_simple_example_08.cpp +++ b/exprtk_simple_example_08.cpp @@ -28,7 +28,7 @@ void composite() typedef exprtk::symbol_table symbol_table_t; typedef exprtk::expression expression_t; typedef exprtk::parser parser_t; - typedef exprtk::parser_error::type error_t; + typedef exprtk::parser_error::type err_t; typedef exprtk::function_compositor compositor_t; typedef typename compositor_t::function function_t; @@ -65,7 +65,7 @@ void composite() for (std::size_t i = 0; i < parser.error_count(); ++i) { - error_t error = parser.get_error(i); + err_t error = parser.get_error(i); printf("Error: %02d Position: %02d Type: [%14s] Msg: %s\tExpression: %s\n", static_cast(i),