aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2023-09-29 01:02:02 +0200
committer GitHub <noreply@github.com>2023-09-29 01:02:02 +0200
commitc34b78f135f4fa67a10cc41bc11443461e97f92b (patch)
treea2aff564ada82edc3aa1195b36cbe740bb48f2a3 /src
parent92961412af3ae908633b4ef7b8453091448ffd4d (diff)
parenta6d8b022c32c6cfa8e73fa07bba018d1dcb93cef (diff)
Merge pull request #20 from OpenVicProject/update/lexy
Diffstat (limited to 'src')
-rw-r--r--src/openvic-dataloader/v2script/SimpleGrammar.hpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/openvic-dataloader/v2script/SimpleGrammar.hpp b/src/openvic-dataloader/v2script/SimpleGrammar.hpp
index 160ab92..a065c7f 100644
--- a/src/openvic-dataloader/v2script/SimpleGrammar.hpp
+++ b/src/openvic-dataloader/v2script/SimpleGrammar.hpp
@@ -45,14 +45,13 @@ namespace ovdl::v2script::grammar {
* DAT-635
*/
static constexpr auto data_specifier =
- lexy::dsl::ascii::alpha_digit_underscore /
- LEXY_ASCII_ONE_OF("%&'") / lexy::dsl::lit_c<0x2B> / LEXY_ASCII_ONE_OF("-.") /
- lexy::dsl::ascii::digit / lexy::dsl::lit_c<0x3A> /
- lexy::dsl::lit_c<0x40> / lexy::dsl::ascii::upper / lexy::dsl::lit_c<0x5F> /
- lexy::dsl::ascii::lower / lexy::dsl::lit_b<0x8A> / lexy::dsl::lit_b<0x8C> / lexy::dsl::lit_b<0x8E> /
- lexy::dsl::lit_b<0x92> / lexy::dsl::lit_b<0x97> / lexy::dsl::lit_b<0x9A> / lexy::dsl::lit_b<0x9C> / lexy::dsl::lit_b<0x9E> / lexy::dsl::lit_b<0x9F> /
- lexy::dsl::lit_b<0xC0> /
- ovdl::detail::lexydsl::make_range<0xC0, 0xD6>() / ovdl::detail::lexydsl::make_range<0xD8, 0xF6>() / ovdl::detail::lexydsl::make_range<0xF8, 0xFF>();
+ lexy::dsl::ascii::alpha_digit_underscore / LEXY_ASCII_ONE_OF("+:@%&'-.") /
+ lexy::dsl::lit_b<0x8A> / lexy::dsl::lit_b<0x8C> / lexy::dsl::lit_b<0x8E> /
+ lexy::dsl::lit_b<0x92> / lexy::dsl::lit_b<0x97> / lexy::dsl::lit_b<0x9A> / lexy::dsl::lit_b<0x9C> /
+ detail::lexydsl::make_range<0x9E, 0x9F>() /
+ detail::lexydsl::make_range<0xC0, 0xD6>() /
+ detail::lexydsl::make_range<0xD8, 0xF6>() /
+ detail::lexydsl::make_range<0xF8, 0xFF>();
static constexpr auto data_char_class = LEXY_CHAR_CLASS("DataSpecifier", data_specifier);