summaryrefslogtreecommitdiff
path: root/src/format/mangling/itanium_gram.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/mangling/itanium_gram.y')
-rw-r--r--src/format/mangling/itanium_gram.y23
1 files changed, 11 insertions, 12 deletions
diff --git a/src/format/mangling/itanium_gram.y b/src/format/mangling/itanium_gram.y
index 9291f57..f8c02a2 100644
--- a/src/format/mangling/itanium_gram.y
+++ b/src/format/mangling/itanium_gram.y
@@ -8,7 +8,6 @@
#include "context-int.h"
-#include "demangler-int.h"
#include "itanium.h"
#include "../../common/extstr.h"
@@ -808,6 +807,12 @@ static GOpenidaType *g_itanium_dcontext_get_item(GItaniumDContext *context, guin
+/* ---------------------------------------------------------------------------------- */
+/* TRAITEMENT DE L'ENCODAGE ITANIUM */
+/* ---------------------------------------------------------------------------------- */
+
+
+
@@ -850,33 +855,27 @@ int yyerror(/*const YYLTYPE *yyloc, bool hunt, char **ucode, unsigned char *inde
-#if 0
+
/******************************************************************************
* *
-* Paramètres : demangler = décodeur à utiliser. *
-* name = chaîne de caractères à analyser. *
+* Paramètres : desc = chaîne de caractères à décoder. *
* *
* Description : Indique si une chaîne peut être traitée par le décodeur. *
* *
-* Retour : Bilan de l'opération. *
+* Retour : Bilan de l'analyse. *
* *
* Remarques : - *
* *
******************************************************************************/
-bool can_be_itanium_demangled(itanium_demangler *itanium, const char *name)
+bool can_be_itanium_demangled(const char *desc)
{
- return (strncmp(name, "_Z", 2) == 0);
+ return (strncmp(desc, "_Z", 2) == 0);
}
-#endif
-
-
-
-
/******************************************************************************
* *
* Paramètres : context = contexte de décodage à utiliser. *