diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2013-11-23 13:07:09 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2013-11-23 13:07:09 (GMT) |
commit | 11634a93003e7b5dd339bb52f2cde04f29f4c4e4 (patch) | |
tree | 23808b6e935992445ec230ce4bfe7692c48b290a /src/format | |
parent | 0820b68115258d7260b69a5bfb179368aa265772 (diff) |
Removed some compilation warnings.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@360 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format')
-rw-r--r-- | src/format/mangling/java_gram.y | 4 | ||||
-rw-r--r-- | src/format/mangling/java_tok.l | 3 |
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 |