diff options
Diffstat (limited to 'src/parse')
-rw-r--r-- | src/parse/root.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse/root.cpp b/src/parse/root.cpp index 422f036e..d0bf795c 100644 --- a/src/parse/root.cpp +++ b/src/parse/root.cpp @@ -227,6 +227,7 @@ AST::Function Parse_FunctionDef(TokenStream& lex, ::std::string abi, AST::MetaIt if( tok.type() == TOK_AMP )
{
// By-reference method?
+ // TODO: If a lifetime is seen (and not a prototype), it is definitely a self binding
unsigned int ofs = 0;
if( lex.lookahead(0) == TOK_LIFETIME )
|