From: Alexis Laferrière Date: Mon, 20 Jul 2015 05:07:16 +0000 (-0400) Subject: contrib/jwrapper grammar: fix parsing many files at once X-Git-Tag: v0.7.7~18^2~26 X-Git-Url: http://nitlanguage.org contrib/jwrapper grammar: fix parsing many files at once Signed-off-by: Alexis Laferrière --- diff --git a/contrib/jwrapper/grammar/javap.sablecc b/contrib/jwrapper/grammar/javap.sablecc index 43d66a8..3f9318b 100644 --- a/contrib/jwrapper/grammar/javap.sablecc +++ b/contrib/jwrapper/grammar/javap.sablecc @@ -13,9 +13,10 @@ wildcard = '?'; Parser Ignored blank; -multi_files = compiled_from? class_declaration; compiled_from = 'Compiled from "' identifier+ '.java"'; +files = file+; +file = compiled_from? class_declaration; class_declaration = modifier* class_or_interface full_class_name extends_declaration? implements_declaration? throws_declaration?