Parser.hpp: Fix a tiny typo at line 154
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
4795bd54a0
commit
8e74bff30b
|
@ -151,7 +151,7 @@ namespace Parser {
|
||||||
}
|
}
|
||||||
const auto& last = parseTree.cend() - 1;
|
const auto& last = parseTree.cend() - 1;
|
||||||
const type_info& lastId = last->get()->getId();
|
const type_info& lastId = last->get()->getId();
|
||||||
const auto& last_identifier = dynamic_cast<NamedIdentifier<true>*>(last->get());
|
const auto* last_identifier = dynamic_cast<NamedIdentifier<true>*>(last->get());
|
||||||
if (last_identifier != nullptr) {
|
if (last_identifier != nullptr) {
|
||||||
if (lastId != typeid(Define) and
|
if (lastId != typeid(Define) and
|
||||||
any_of(parseTree.cbegin(), last, [&last_identifier](const component_ptr& pointer){
|
any_of(parseTree.cbegin(), last, [&last_identifier](const component_ptr& pointer){
|
||||||
|
|
Loading…
Reference in New Issue