summaryrefslogtreecommitdiffstats
path: root/src/grammar.hpp
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-04-11 02:54:44 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-04-11 03:00:00 +0200
commit42f74c83bf53d60d25408e6afb8aa92ca23e0a16 (patch)
tree357dc29cf3114a35015f47368e6177247bdc546e /src/grammar.hpp
parent69d5b76e1a56a0e2f537b06b133921b45f490371 (diff)
downloadsolar-42f74c83bf53d60d25408e6afb8aa92ca23e0a16.tar
solar-42f74c83bf53d60d25408e6afb8aa92ca23e0a16.zip
Add support for destructors
Diffstat (limited to 'src/grammar.hpp')
-rw-r--r--src/grammar.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/grammar.hpp b/src/grammar.hpp
index e603d00..b54b46d 100644
--- a/src/grammar.hpp
+++ b/src/grammar.hpp
@@ -39,6 +39,8 @@ struct grammar_t {
std::map<std::string, std::string> nonterm_types;
std::map<symbol_t, std::pair<std::string, std::string>> term_types;
+ std::map<symbol_t, std::string> destructors;
+
std::string header_block;
std::string source_block;