aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Spartan322 <Megacake1234@gmail.com>2023-09-12 01:12:18 +0200
committer Spartan322 <Megacake1234@gmail.com>2023-09-29 01:02:38 +0200
commitfe9be7d265049d60929070a4b628f42d95f56972 (patch)
treea38232d134b4c9c668222f452212beb2ea7d82a9
parentc34b78f135f4fa67a10cc41bc11443461e97f92b (diff)
Fix "" not being converted into " in Csv files
Move duplicated Grammar in CsvGrammar.hpp to Grammar.inc
-rw-r--r--src/openvic-dataloader/csv/Grammar.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/openvic-dataloader/csv/Grammar.inc b/src/openvic-dataloader/csv/Grammar.inc
index ed7f455..d01a72a 100644
--- a/src/openvic-dataloader/csv/Grammar.inc
+++ b/src/openvic-dataloader/csv/Grammar.inc
@@ -13,6 +13,8 @@
#include <lexy/callback.hpp>
#include <lexy/dsl.hpp>
+#include <lexy/dsl/delimited.hpp>
+#include <lexy/dsl/follow.hpp>
#include "detail/LexyLitRange.hpp"
@@ -168,4 +170,4 @@ namespace strings {
using SemiColonFile = File<ParseOptions { ';', true }>;
using TabFile = File<ParseOptions { '\t', true }>;
using BarFile = File<ParseOptions { '|', true }>;
-} \ No newline at end of file
+}