summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include/idl_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/include/idl_global.h')
-rw-r--r--TAO/TAO_IDL/include/idl_global.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/include/idl_global.h b/TAO/TAO_IDL/include/idl_global.h
index d6525e8b5ea..89842d5a77e 100644
--- a/TAO/TAO_IDL/include/idl_global.h
+++ b/TAO/TAO_IDL/include/idl_global.h
@@ -300,6 +300,13 @@ public:
, PS_AnnotationDeclSeen
};
+ enum Unknown_Annotations {
+ UNKNOWN_ANNOTATIONS_WARN_ONCE,
+ UNKNOWN_ANNOTATIONS_WARN_ALL,
+ UNKNOWN_ANNOTATIONS_ERROR,
+ UNKNOWN_ANNOTATIONS_IGNORE
+ };
+
// flags for types of declarations seen while parsing.
bool abstract_iface_seen_;
bool abstractbase_seen_;
@@ -407,7 +414,7 @@ public:
bool in_eval_;
/**
- * Dump contructs defined using eval() if true.
+ * Dump constructs defined using eval() if true.
*/
bool dump_builtins_;
@@ -422,6 +429,21 @@ public:
*/
bool ignore_files_;
+ /**
+ * If true, silently ignore lookup errors.
+ */
+ bool ignore_lookup_errors_;
+
+ /**
+ * Reaction to unknown annotations
+ */
+ Unknown_Annotations unknown_annotations_;
+
+ /**
+ * Set of the local names of unkown annotations already seen
+ */
+ ACE_Unbounded_Set<Identifier> unknown_annotations_seen_;
+
IDL_GlobalData (void);
~IDL_GlobalData (void);