X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=libiberty%2Fcp-demangle.c;h=ddcd3be6b8f524c91a12f131d657e68cf0886100;hb=a08da33eb3f69dec01810440a40c77ed56a79b69;hp=47bbc947f143d132c29ec71c5676ccfa4bdf6ff5;hpb=af03af8f55f2536b6e20928e6b1fa0324a5f3d6e;p=external%2Fbinutils.git diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c index 47bbc94..ddcd3be 100644 --- a/libiberty/cp-demangle.c +++ b/libiberty/cp-demangle.c @@ -1,5 +1,5 @@ /* Demangler for g++ V3 ABI. - Copyright (C) 2003-2018 Free Software Foundation, Inc. + Copyright (C) 2003-2019 Free Software Foundation, Inc. Written by Ian Lance Taylor . This file is part of the libiberty library, which is part of GCC. @@ -6201,13 +6201,13 @@ cplus_demangle_init_info (const char *mangled, int options, size_t len, di->n = mangled; - /* We can not need more components than twice the number of chars in + /* We cannot need more components than twice the number of chars in the mangled string. Most components correspond directly to chars, but the ARGLIST types are exceptions. */ di->num_comps = 2 * len; di->next_comp = 0; - /* Similarly, we can not need more substitutions than there are + /* Similarly, we cannot need more substitutions than there are chars in the mangled string. */ di->num_subs = len; di->next_sub = 0;