more fix
[cdsspec-compiler.git] / grammer / util.jj
index 2be56d6f9f6fc7b211ff1a0cd0e510ff19bdccba..5194e6427989097d6194874efa3910d85ddeb845 100644 (file)
@@ -331,8 +331,8 @@ String ParameterizedName() :
 }
 {
        (str = <IDENTIFIER>.image {res = str;})
-       (<OPEN_BRACKET> str = Type() { res = res + "<" + str; }
-       (<COMMA> str = Type() { res = res + ", " + str; })* <CLOSE_BRACKET>
+       (<LESS_THAN> str = Type() { res = res + "<" + str; }
+       (<COMMA> str = Type() { res = res + ", " + str; })* <GREATER_THAN>
        { res = res + ">"; }
        )?
        {
@@ -385,7 +385,7 @@ ArrayList<VariableDeclaration> TemplateParamList() :
                params = new ArrayList<VariableDeclaration>();
        }
        <TEMPLATE>
-       <OPEN_BRACKET>
+       <LESS_THAN>
        (type = <IDENTIFIER>.image 
        name = <IDENTIFIER>.image
        {
@@ -399,7 +399,7 @@ ArrayList<VariableDeclaration> TemplateParamList() :
                params.add(new VariableDeclaration(type, name));
        }
        )*
-       <CLOSE_BRACKET>
+       <GREATER_THAN>
        {
                //System.out.println(params);
                return params;