Slight tweaks to config parsing error handling (#1575)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
mkdocs / deploy (push) Has been cancelled

This commit is contained in:
trapexit 2025-11-13 16:05:03 -06:00 • committed by GitHub
parent af1edadf72
commit 01973214bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 19 additions and 7 deletions

View file

@ -81,9 +81,8 @@ namespace l
u64 offset;
offset = s_.find_first_not_of("+<>-=");
if (offset == std::string::npos) {
if(offset == std::string::npos)
return;
}
if(offset > 1)
offset = 2;