X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=grammer%2Fspec_compiler.jj;h=f914094a1f249af4838c3aeea860edf07897f742;hb=9715bde2a0d400f34e601b5f5d8589a73eb46010;hp=cbe2e28d6240ab8a6853df36d0c68c7d647ce15a;hpb=541ee814ad10bc181abd4d8825397249c6f86ad7;p=cdsspec-compiler.git diff --git a/grammer/spec_compiler.jj b/grammer/spec_compiler.jj index cbe2e28..f914094 100644 --- a/grammer/spec_compiler.jj +++ b/grammer/spec_compiler.jj @@ -181,7 +181,7 @@ import edu.uci.eecs.specCompiler.specExtraction.VariableDeclaration; return null; } - public static ArrayList getTemplateArg(String line) + public static ArrayList getTemplateArg(String line) throws ParseException { InputStream input = new ByteArrayInputStream(line.getBytes()); SpecParser parser = new SpecParser(input); @@ -433,7 +433,6 @@ SKIP : { | @@ -583,13 +582,11 @@ String ParameterizedName() : FunctionHeader FuncDecl() : { - ArrayList templateList; String ret; QualifiedName funcName; ArrayList args; } { -aa ( | )* ret = Type() funcName = ParseQualifiedName()