aboutsummaryrefslogtreecommitdiff
path: root/libiberty/cp-demangle.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2021-01-05 12:36:09 +0000
committerNick Clifton <nickc@redhat.com>2021-01-05 12:36:09 +0000
commitd750c713c9a34c8835e8e60370708cae675edb40 (patch)
tree5698bd80d455c9662f4c7fe90d580c38bce7798b /libiberty/cp-demangle.h
parent5f8c2a1507c052384ce700ad7c7fb9c0c10a2421 (diff)
downloadfsf-binutils-gdb-d750c713c9a34c8835e8e60370708cae675edb40.zip
fsf-binutils-gdb-d750c713c9a34c8835e8e60370708cae675edb40.tar.gz
fsf-binutils-gdb-d750c713c9a34c8835e8e60370708cae675edb40.tar.bz2
Update libiberty with latest sources from gcc mainline
Diffstat (limited to 'libiberty/cp-demangle.h')
-rw-r--r--libiberty/cp-demangle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libiberty/cp-demangle.h b/libiberty/cp-demangle.h
index 84eb5db..cb47bdf 100644
--- a/libiberty/cp-demangle.h
+++ b/libiberty/cp-demangle.h
@@ -122,6 +122,10 @@ struct d_info
/* Non-zero if we are parsing the type operand of a conversion
operator, but not when in an expression. */
int is_conversion;
+ /* 1: using new unresolved-name grammar.
+ -1: using new unresolved-name grammar and saw an unresolved-name.
+ 0: using old unresolved-name grammar. */
+ int unresolved_name_state;
/* If DMGL_NO_RECURSE_LIMIT is not active then this is set to
the current recursion level. */
unsigned int recursion_level;