diff options
author | Adrian Thurston <thurston@complang.org> | 2011-07-13 02:31:57 +0000 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2011-07-13 02:31:57 +0000 |
commit | cb322af633c68f437730d3c09919ee6797360b9f (patch) | |
tree | 1774da6b90d532010cec3abbef97e7a170fa0b15 /colm/lmparse.kl | |
parent | cc31dc1d130af2324b7e83ca12431477edcdb3dd (diff) | |
download | colm-cb322af633c68f437730d3c09919ee6797360b9f.tar.gz |
Type typeid type arg now wrapped in <>. In line with map, list, etc.
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 { |