From 0ce2b18412e135ca58f0c0347e75b48ae40c0de3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Mon, 20 Jul 2015 07:11:48 -0400 Subject: [PATCH] contrib/jwrapper grammar: accept generic constructors MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- contrib/jwrapper/grammar/javap.sablecc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/jwrapper/grammar/javap.sablecc b/contrib/jwrapper/grammar/javap.sablecc index 1af6f5f..6a16747 100644 --- a/contrib/jwrapper/grammar/javap.sablecc +++ b/contrib/jwrapper/grammar/javap.sablecc @@ -60,7 +60,7 @@ method_id = identifier; property_declaration = {method:} modifier* generic_param? type method_id '(' parameter_list? ')' throws_declaration? ';' - | {constructor:} modifier* full_class_name '(' parameter_list? ')' throws_declaration? ';' + | {constructor:} modifier* generic_param? full_class_name '(' parameter_list? ')' throws_declaration? ';' | {attribute:} modifier* type attribute_id throws_declaration? ';' | {static:} modifier* '{' '}' ';' | ';'; -- 1.7.9.5