diff options
Diffstat (limited to 'colm/lmparse.kl')
-rw-r--r-- | colm/lmparse.kl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/colm/lmparse.kl b/colm/lmparse.kl index 5ebbdbbc..65d3d5d2 100644 --- a/colm/lmparse.kl +++ b/colm/lmparse.kl @@ -1735,10 +1735,10 @@ code_factor: KW_ParseStop opt_capture type_ref '(' opt_code_expr_list ')' } }; -code_factor: KW_TypeId type_ref +code_factor: KW_TypeId '<' type_ref '>' final { $$->expr = new LangExpr( new LangTerm( $1->loc, - LangTerm::TypeIdType, $2->typeRef ) ); + LangTerm::TypeIdType, $3->typeRef ) ); }; code_factor: type_ref KW_In var_ref final { |