mirror of
https://github.com/pantor/inja.git
synced 2026-08-04 06:42:18 +00:00
update single include file
This commit is contained in:
@@ -1870,8 +1870,11 @@ class FunctionStorage {
|
||||
if (it == m_map.end()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
for (auto &&i: it->second) {
|
||||
if (i.num_args == num_args) return &i;
|
||||
if (i.num_args == num_args) {
|
||||
return &i;
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
@@ -2215,6 +2218,7 @@ class Lexer {
|
||||
if (std::isalpha(ch)) {
|
||||
return scan_id();
|
||||
}
|
||||
|
||||
switch (ch) {
|
||||
case ',':
|
||||
return make_token(Token::Kind::Comma);
|
||||
|
||||
Reference in New Issue
Block a user