From 3a7006fcf5f8ecffd852fbba6d8ee03ce8a35dce Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 14 Mar 2020 17:10:23 +0100 Subject: Remove dfa again --- bnf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bnf.h') diff --git a/bnf.h b/bnf.h index b14ca58..13337bf 100644 --- a/bnf.h +++ b/bnf.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include #include #include #include @@ -9,9 +9,9 @@ using namespace std::string_literals; -using BNF = std::map>>; +using BNF = std::unordered_map>>; -std::map> Reverse(BNF bnf); // unused now, remove? -std::map> reverseFirst(BNF bnf); +std::unordered_map> Reverse(BNF bnf); // unused now, remove? +std::unordered_map> reverseFirst(BNF bnf); BNF SubBNF(const BNF& bnf, const std::string& top); -- cgit v1.2.3