diff options
Diffstat (limited to 'staptree.cxx')
-rw-r--r-- | staptree.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/staptree.cxx b/staptree.cxx index b6ee3fdf..f01e895e 100644 --- a/staptree.cxx +++ b/staptree.cxx @@ -223,6 +223,14 @@ target_symbol::assert_no_components(const std::string& tapset) } +void target_symbol::chain (semantic_error *e) +{ + assert (e->chain == 0); + e->chain = this->saved_conversion_error; + this->saved_conversion_error = e; +} + + // ------------------------------------------------------------------------ // parse tree printing |