feat: add inverted sources (#4722)
Co-authored-by: elecpower <neilh713@tpg.com.au>
This commit is contained in:
@@ -98,7 +98,8 @@ RawSwitch YamlRawSwitchDecode(const std::string& sw_str)
|
||||
|
||||
// yaml-cpp does not escape this
|
||||
if (val_len > 0 && val[0] == '\\') {
|
||||
val++; val_len--;
|
||||
val++;
|
||||
val_len--;
|
||||
sw_str_tmp = sw_str_tmp.substr(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user