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.l8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/format/mangling/java_gram.y b/src/format/mangling/java_gram.y
index 3522b01..859dce4 100644
--- a/src/format/mangling/java_gram.y
+++ b/src/format/mangling/java_gram.y
@@ -98,7 +98,7 @@ input:
;
type_descriptor:
- 'V' { $$ = g_basic_type_new(BTP_VOID); }
+ V { $$ = g_basic_type_new(BTP_VOID); }
| field_type_descriptor { $$ = $1; }
;
@@ -227,7 +227,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, */char *msg)
+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 06777f9..c19cd04 100644
--- a/src/format/mangling/java_tok.l
+++ b/src/format/mangling/java_tok.l
@@ -23,11 +23,11 @@ I { return I; }
J { return J; }
F { return F; }
D { return D; }
-L { printf("Got 'L'\n"); BEGIN(string); return L; }
-<string>[/] { printf("Got '/'\n"); return SLASH; }
-<string>[$] { printf("Got '$'\n"); return DOLLAR; }
+L { BEGIN(string); return L; }
+<string>[/] { return SLASH; }
+<string>[$] { return DOLLAR; }
<string>[;] { BEGIN(INITIAL); return SEMICOLON; }
-<string>[A-Za-z0-9]* { java_lval.text = yytext; printf("Got text:'%s'\n", yytext); return TEXT; }
+<string>[A-Za-z0-9]* { java_lval.text = yytext; return TEXT; }
%%