From 80f4a8382cb4a8547053f8bcda330349505903a6 Mon Sep 17 00:00:00 2001 From: Thomas Ubensee <34603111+tomuben@users.noreply.github.com> Date: Mon, 7 Oct 2024 15:21:09 -0300 Subject: [PATCH] More findings from review --- .../ctpg/script_option_lines_ctpg.cc | 22 +++++++++---------- .../ctpg/test/script_option_lines_test.cpp | 2 +- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/exaudfclient/base/script_options_parser/ctpg/script_option_lines_ctpg.cc b/exaudfclient/base/script_options_parser/ctpg/script_option_lines_ctpg.cc index 0eb20d9f..ecbd9151 100644 --- a/exaudfclient/base/script_options_parser/ctpg/script_option_lines_ctpg.cc +++ b/exaudfclient/base/script_options_parser/ctpg/script_option_lines_ctpg.cc @@ -59,8 +59,8 @@ constexpr char option_char_pattern[] = R"_([^;])_"; constexpr char whitespaces_pattern[] = R"_([ \x09\x0c\x0b]+)_"; -constexpr char_term start_option_tag('%'); -constexpr char_term end_option_tag(';'); +constexpr char_term start_option_token('%'); +constexpr char_term end_option_token(';'); constexpr regex_term alpha_numeric("alpha_numeric"); constexpr regex_term option_char("option_char"); constexpr regex_term whitespaces("whitespace"); @@ -72,13 +72,11 @@ constexpr nterm