new SHSTKMacros, PIP 2.99

This commit is contained in:
2022-08-07 22:06:57 +03:00
parent 216bd5afd0
commit 556191d443
2 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ include(SHSTKMacros)
shstk_is_parent_exists(hasParent PARENT_DIRECTORY) shstk_is_parent_exists(hasParent PARENT_DIRECTORY)
shstk_set_find_dirs(cd) shstk_set_find_dirs(cd CD)
set(_SEARCH_DIR ${cd_LIBDIR}) set(_SEARCH_DIR ${cd_LIBDIR})
if (NOT BUILDING_cd) if (NOT BUILDING_cd)

View File

@@ -173,7 +173,7 @@ protected:
inline PICout operator <<(PICout s, const CDUtils::CDType & v) { inline PICout operator <<(PICout s, const CDUtils::CDType & v) {
s.space(); s.space();
s.setControl(0, true); s.saveAndSetControls(0);
switch (v.cd_type()) { switch (v.cd_type()) {
case CDUtils::CDType::cdK : s << "K["; break; case CDUtils::CDType::cdK : s << "K["; break;
case CDUtils::CDType::cdX : s << "X["; break; case CDUtils::CDType::cdX : s << "X["; break;
@@ -182,7 +182,7 @@ inline PICout operator <<(PICout s, const CDUtils::CDType & v) {
default : s << "Null["; break; default : s << "Null["; break;
} }
s << v.name() << "(" << v.index() << ")] = " << v.value(); s << v.name() << "(" << v.index() << ")] = " << v.value();
s.restoreControl(); s.restoreControls();
return s; return s;
} }