aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/cps/TypeSystem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cps/TypeSystem.h b/include/cps/TypeSystem.h
index f8427f3..0c7c888 100644
--- a/include/cps/TypeSystem.h
+++ b/include/cps/TypeSystem.h
@@ -45,6 +45,7 @@ struct RecordFieldInfo {
struct RecordPayload {
std::vector<std::pair<std::string, RecordFieldInfo>> Fields; // declaration order
+ bool Invalid = false; // a field was rejected and skipped
const RecordFieldInfo *findField(const std::string &Name) const;
};