diff options
author | Adrian Thurston <thurston@complang.org> | 2013-05-25 12:04:42 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2013-05-25 12:04:42 -0400 |
commit | 5502a525b29c773b44c0bc05b78dd5e386942b2a (patch) | |
tree | 41f48af5c8e21df2e527f59ed03252bb86822ec1 | |
parent | 75e9fe4c9f5d563dee2b0089e60583c0b347b34d (diff) | |
download | colm-5502a525b29c773b44c0bc05b78dd5e386942b2a.tar.gz |
require <> around type arg of a ref
All types are consitent in the rule that whitespace between words in the type
must be wrapped in <> delimiters. This is only allowed between arguments to the
type.
-rw-r--r-- | colm/colm.lm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/colm/colm.lm b/colm/colm.lm index c1b5f4e4..54d2853f 100644 --- a/colm/colm.lm +++ b/colm/colm.lm @@ -252,7 +252,7 @@ def iter_def COPEN LangStmtList: lang_stmt_list CCLOSE] def reference_type_ref - [R: REF TypeRef: type_ref] + [R: REF LT TypeRef: type_ref GT] def param_var_def [Id: id COLON TypeRef: type_ref] |