diff --git a/v3/memory.cpp b/v3/memory.cpp index 53323cb..a54acce 100644 --- a/v3/memory.cpp +++ b/v3/memory.cpp @@ -52,8 +52,8 @@ memory_Context memory_shouldDeselectMismatchedItems( memory_Context c ) { if (!( - c.recentField == "selectedItems" &&; - c.selectedItems.size() == 2; + c.recentField == "selectedItems" && + c.selectedItems.size() == 2 )) { c.recentField = "none"; return c; diff --git a/v3/tPythonC++/CPP.py b/v3/tPythonC++/CPP.py index 6c8acb1..c923c74 100644 --- a/v3/tPythonC++/CPP.py +++ b/v3/tPythonC++/CPP.py @@ -114,7 +114,7 @@ def translateStatement(s, state): return f"{indentation})) {{" ending = ";" - if state.isIf: + if state.isIf or state.isIfNot: ending = "" # Unknown.