forked from jasder/antlr
Merge pull request #2426 from hannemann-tamas/master
virtual dtor for ParseTreeProperty
This commit is contained in:
commit
b3f00ca72a
|
@ -208,3 +208,4 @@ YYYY/MM/DD, github id, Full name, email
|
|||
2018/11/12, vinoski, Steve Vinoski, vinoski@ieee.org
|
||||
2018/11/14, nxtstep, Adriaan (Arjan) Duz, codewithadriaan[et]gmail[dot]com
|
||||
2018/11/15, amykyta3, Alex Mykyta, amykyta3@users.noreply.github.com
|
||||
2018/11/29, hannemann-tamas, Ralf Hannemann-Tamas, ralf.ht@gmail.com
|
||||
|
|
|
@ -29,6 +29,7 @@ namespace tree {
|
|||
template<typename V>
|
||||
class ANTLR4CPP_PUBLIC ParseTreeProperty {
|
||||
public:
|
||||
virtual ~ParseTreeProperty() {}
|
||||
virtual V get(ParseTree *node) {
|
||||
return _annotations[node];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue