summaryrefslogtreecommitdiff
path: root/cp-demangle.h
diff options
context:
space:
mode:
Diffstat (limited to 'cp-demangle.h')
-rw-r--r--cp-demangle.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cp-demangle.h b/cp-demangle.h
index ae635be..6fce025 100644
--- a/cp-demangle.h
+++ b/cp-demangle.h
@@ -122,6 +122,11 @@ struct d_info
mangled name to the demangled name, such as standard
substitutions and builtin types. */
int expansion;
+ /* Non-zero if we are parsing an expression. */
+ int is_expression;
+ /* Non-zero if we are parsing the type operand of a conversion
+ operator, but not when in an expression. */
+ int is_conversion;
};
/* To avoid running past the ending '\0', don't: