From 11634a93003e7b5dd339bb52f2cde04f29f4c4e4 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sat, 23 Nov 2013 13:07:09 +0000 Subject: Removed some compilation warnings. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@360 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 6 ++++++ src/format/mangling/java_gram.y | 4 +++- src/format/mangling/java_tok.l | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 61c93a9..83cbb83 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 13-09-01 Cyrille Bagard + * src/format/mangling/java_gram.y: + * src/format/mangling/java_tok.l: + Remove some compilation warnings. + +13-09-01 Cyrille Bagard + * src/debug/remgdb/stream.c: * src/debug/remgdb/stream-int.h: * src/debug/stream.c: 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 -- cgit v0.11.2-87-g4458