summaryrefslogtreecommitdiff
path: root/src/format/mangling
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/mangling')
-rw-r--r--src/format/mangling/java_gram.y4
-rw-r--r--src/format/mangling/java_tok.l3
2 files changed, 6 insertions, 1 deletions
diff --git a/src/format/mangling/java_gram.y b/src/format/mangling/java_gram.y
index bbd2de3..fa6895c 100644
--- a/src/format/mangling/java_gram.y
+++ b/src/format/mangling/java_gram.y
@@ -43,6 +43,8 @@ static void g_java_dcontext_class_init(GJavaDContextClass *);
/* Initialise une instance de contexte pour décodage. */
static void g_java_dcontext_init(GJavaDContext *);
+/* Affiche un message d'erreur concernant l'analyse. */
+static int java_error(/*const YYLTYPE *yyloc, bool hunt, char **ucode, unsigned char *index, */GJavaDContext *, char *);
@@ -235,7 +237,7 @@ GDemanglingContext *g_java_dcontext_new(void)
* @param msg indications humaines sur l'événement.
* @return 0.
*/
-int java_error(/*const YYLTYPE *yyloc, bool hunt, char **ucode, unsigned char *index, */GJavaDContext *context, char *msg)
+static int java_error(/*const YYLTYPE *yyloc, bool hunt, char **ucode, unsigned char *index, */GJavaDContext *context, char *msg)
{
diff --git a/src/format/mangling/java_tok.l b/src/format/mangling/java_tok.l
index 04180ac..4adf623 100644
--- a/src/format/mangling/java_tok.l
+++ b/src/format/mangling/java_tok.l
@@ -1,6 +1,7 @@
%{
+#include "java.h"
#include "libjavamangling_la-java_gram.h"
%}
@@ -8,6 +9,8 @@
%option noyywrap
%option yylineno
+%option nounput
+%option noinput
%x string