diff options
author | George L. Albany <Megacake1234@gmail.com> | 2024-05-13 22:50:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 22:50:54 +0200 |
commit | a5a6ff376cf0ff8fa48fcd750c16395b099223a4 (patch) | |
tree | c0b7aa641b72b5f2650691cba22d17de335622f6 /src/openvic-dataloader/detail/dsl.hpp | |
parent | 725310939d2b324d79ea4193a72000e21dcc1a2a (diff) | |
parent | 458180da5e61887cd9f820e573f307d0a640128d (diff) |
Merge pull request #44 from OpenVicProject/fix/error-handling
Fix bugs in #37
Diffstat (limited to 'src/openvic-dataloader/detail/dsl.hpp')
-rw-r--r-- | src/openvic-dataloader/detail/dsl.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openvic-dataloader/detail/dsl.hpp b/src/openvic-dataloader/detail/dsl.hpp index 9b544bc..ccc1af6 100644 --- a/src/openvic-dataloader/detail/dsl.hpp +++ b/src/openvic-dataloader/detail/dsl.hpp @@ -97,14 +97,14 @@ namespace ovdl::dsl { template< IsParseState ParseType, - typename Identifier, + auto Identifier, typename RuleValue, ovdl::detail::string_literal Keyword, auto Production, auto Value> struct keyword_rule { struct rule_t { - static constexpr auto keyword = ovdl::dsl::keyword<Keyword>(lexy::dsl::inline_<Identifier>); + static constexpr auto keyword = ovdl::dsl::keyword<Keyword>(Identifier); static constexpr auto rule = lexy::dsl::position(keyword) >> lexy::dsl::equal_sign; static constexpr auto value = Value; }; @@ -114,7 +114,7 @@ namespace ovdl::dsl { template< IsParseState ParseType, - typename Identifier, + auto Identifier, typename RuleValue, ovdl::detail::string_literal Keyword, auto Production, |