From de58d43d48c379ad8fa0ef2694d4fb2feaaefe7e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 4 Jun 2026 15:38:28 +0200 Subject: adjust the formatting a little bit --- server/lexer/details/parse.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'server/lexer/details') diff --git a/server/lexer/details/parse.cpp b/server/lexer/details/parse.cpp index e6f0898..1ba8097 100644 --- a/server/lexer/details/parse.cpp +++ b/server/lexer/details/parse.cpp @@ -33,7 +33,9 @@ public: // ^ I fucking hate C++. } - std::string to_str() const { return m_match[0].str(); } + std::string to_str() const { + return m_match[0].str(); + } protected: MatchResultsT m_match; @@ -64,7 +66,9 @@ protected: R"REGEX(^(?:\d+(?:\.\d*)?|\.\d+)(e[+-]?(\d*))?)REGEX"}; private: - bool matched_e() const { return this->m_match[1].matched; } + bool matched_e() const { + return this->m_match[1].matched; + } bool matched_e_power() const { return this->m_match[2].matched && this->m_match[2].length() != 0; -- cgit v1.3