diff options
author | John Hodge <tpg@mutabah.net> | 2015-03-21 13:52:34 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-03-21 13:52:34 +0800 |
commit | e199a51dfd19eacd9c423cfff8bbc2dc2c64ac6d (patch) | |
tree | 0799b014b8de37282e3a032895da02b9f86e4eb1 /src/parse/types.cpp | |
parent | de16b83e86ac67aa02c188bdcbb3d19088a90b97 (diff) | |
download | mrust-e199a51dfd19eacd9c423cfff8bbc2dc2c64ac6d.tar.gz |
Rework macro handling to (hopefully) correctly handle nested repetions
Diffstat (limited to 'src/parse/types.cpp')
-rw-r--r-- | src/parse/types.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/parse/types.cpp b/src/parse/types.cpp index b9cf3cc1..3752dc85 100644 --- a/src/parse/types.cpp +++ b/src/parse/types.cpp @@ -164,7 +164,9 @@ TypeRef Parse_Type(TokenStream& lex) GET_CHECK_TOK(tok, lex, TOK_LIFETIME); ::std::string lifetime = tok.str(); GET_CHECK_TOK(tok, lex, TOK_PAREN_CLOSE); - throw ParseError::Todo(lex, "Type lifetime bounds"); + // TODO: Actually use lifetime bound + DEBUG("TODO: Use lifetime bound '" << lifetime << " on type " << inner); + return ::std::move(inner); } else { |