summaryrefslogtreecommitdiffstats
path: root/src/generator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/generator.hpp')
-rw-r--r--src/generator.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/generator.hpp b/src/generator.hpp
index 955739f..715dd98 100644
--- a/src/generator.hpp
+++ b/src/generator.hpp
@@ -45,7 +45,8 @@ private:
std::multimap<symbol_t, item_t> items;
std::map<std::set<item_t>, size_t> itemsets;
- std::multimap<std::pair<unsigned, symbol_t>, std::pair<char, unsigned>> actions;
+ std::map<std::pair<unsigned, symbol_t>, unsigned> shifts;
+ std::map<unsigned, unsigned> reductions;
std::map<std::pair<unsigned, symbol_t>, unsigned> gotos;
void close_set(std::set<item_t> *set);