Skip to content
Snippets Groups Projects
Commit c967e3f2 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix error indicator

parent d0a75a71
No related branches found
No related tags found
1 merge request!37Feature/language
......@@ -268,7 +268,8 @@ ASTNodeAffectationExpressionBuilder::ASTNodeAffectationExpressionBuilder(ASTNode
break;
}
default: {
throw parse_error("unexpected error: undefined value type for affectation", std::vector{n.begin()});
throw parse_error("unexpected error: undefined value type for affectation",
std::vector{n.children[0]->begin()});
}
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment