Fix rawswitch decode
This commit is contained in:
committed by
Raphael Coeffic
parent
e99e890cb4
commit
609604d141
@@ -149,7 +149,8 @@ RawSwitch YamlRawSwitchDecode(const std::string& sw_str)
|
||||
}
|
||||
|
||||
} else {
|
||||
// no match found
|
||||
YAML::Node(sw_str) >> rhs.type;
|
||||
rhs.index = 0;
|
||||
}
|
||||
|
||||
if (neg) {
|
||||
|
||||
Reference in New Issue
Block a user