charj: fix subtree construction for templated class bodies
[charm.git] / src / langs / charj / src / charj / translator / CharjEmitter.g
index 162fd0109cc212cc087559ce537727a2ece8d9ca..6d3e5739689810136af33d6d2dac2240046aa3b7 100644 (file)
@@ -136,7 +136,7 @@ importDeclaration
     ;
     
 typeDeclaration
-    :   ^('template' '<' 'class' IDENT '>' td=typeDeclaration)
+    :   ^('template' 'class' IDENT td=typeDeclaration)
         -> {emitH()}? templateDeclaration_h(
             ident={$IDENT.text},
             class1={$td.st})