summaryrefslogtreecommitdiff
path: root/src/parse/root.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/root.cpp')
-rw-r--r--src/parse/root.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/root.cpp b/src/parse/root.cpp
index 7484609b..f5f48132 100644
--- a/src/parse/root.cpp
+++ b/src/parse/root.cpp
@@ -319,7 +319,6 @@ AST::Function Parse_FunctionDef(TokenStream& lex, bool allow_no_code=false)
// By-value method
fcn_class = AST::Function::CLASS_VALMETHOD;
GET_TOK(tok, lex);
- throw ParseError::Todo("By-value methods");
}
else
{
@@ -821,6 +820,7 @@ MacroRule Parse_MacroRules_Var(Preproc& lex)
auto rep = Parse_TT(lex, true); // - don't care about the enclosing brackets
TTStream slex(rep);
+ // parse token tree into a flattend replacement, handling expansions
while(GET_TOK(tok, slex) != TOK_EOF)
{
if( tok.type() == TOK_DOLLAR )