summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include/ast_constant.h
diff options
context:
space:
mode:
authorFred Hornsey <hornseyf@objectcomputing.com>2018-10-09 15:37:50 -0500
committerFred Hornsey <hornseyf@objectcomputing.com>2018-10-09 15:37:50 -0500
commitfd01bfeb662021662c80bd9343a9faef7e93c36e (patch)
tree6dbc87b70ade954b6d163ca568ed37517b3e37f9 /TAO/TAO_IDL/include/ast_constant.h
parent6913f1423f87f25a7ab4f76b4dd37379b3e6d129 (diff)
downloadATCD-fd01bfeb662021662c80bd9343a9faef7e93c36e.tar.gz
tao_idl: Fixes for AST dump and annotations
Diffstat (limited to 'TAO/TAO_IDL/include/ast_constant.h')
-rw-r--r--TAO/TAO_IDL/include/ast_constant.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/include/ast_constant.h b/TAO/TAO_IDL/include/ast_constant.h
index 4af90810fc7..01196eb790a 100644
--- a/TAO/TAO_IDL/include/ast_constant.h
+++ b/TAO/TAO_IDL/include/ast_constant.h
@@ -126,6 +126,8 @@ public:
static AST_Decl::NodeType const NT;
+ virtual bool annotatable () const { return true; }
+
protected:
AST_Expression *pd_constant_value;
// The value.