Return in findGlobals
This commit is contained in:
parent
8ac8951d8d
commit
836e281b80
|
@ -584,6 +584,7 @@ void findGlobals(TSNode node, const char *source_code, uint32_t source_length,
|
|||
std::string src = extractNodeText(node, source_code);
|
||||
SPDLOG_ERROR("Failed to get global name for {}", src);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue