summaryrefslogtreecommitdiff
path: root/src/format/mangling
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-06-06 14:08:21 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-06-06 14:08:21 (GMT)
commitb5934203c1cb287eb46b07e866b54d1de240b87b (patch)
tree283fad2a6d4517b84985331e5234095c71c8734b /src/format/mangling
parente72eea33b9967d4169d2c8ffcb4a9e85c4c3ee8c (diff)
Used a treeview with icons to show all known symbols.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@165 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
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; }
%%