summaryrefslogtreecommitdiffhomepage
path: root/grammer.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-03-01 22:34:35 +0100
committerRoland Reichwein <mail@reichwein.it>2020-03-01 22:34:35 +0100
commit6fcfe0a5cf8f53658e50e346076768eec229e695 (patch)
tree69d9ce555c3a671e2d3c0dfe46834d6fcb183753 /grammer.h
parent10c2b7f9b6676dafd62d0eeda507b5ee5c6db216 (diff)
Vector invalidation fix
Diffstat (limited to 'grammer.h')
-rw-r--r--grammer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/grammer.h b/grammer.h
index bdb2718..c2eb705 100644
--- a/grammer.h
+++ b/grammer.h
@@ -38,8 +38,8 @@ private:
BNF &bnf; // not const for access via operator[]
const std::string& Top;
- std::map<std::string, std::set<std::string>> ReverseBNF; // possible parent types of a given type
-
+ std::map<std::string, std::set<std::string>> ReverseBNF; // possible parent types of a given type; unused now: remove?
+ std::map<std::string, std::set<std::string>> reversedFirst; // possible parent types of first childs of a given type
// Tree specific
void clear();