Михаил Капелько 8 months ago
parent
commit
b6a6fec7a2
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      v3/memory.cpp
  2. +1
    -1
      v3/tPythonC++/CPP.py

+ 2
- 2
v3/memory.cpp View File

@@ -52,8 +52,8 @@ memory_Context memory_shouldDeselectMismatchedItems(
memory_Context c memory_Context c
) { ) {
if (!( if (!(
c.recentField == "selectedItems" &&;
c.selectedItems.size() == 2;
c.recentField == "selectedItems" &&
c.selectedItems.size() == 2
)) { )) {
c.recentField = "none"; c.recentField = "none";
return c; return c;


+ 1
- 1
v3/tPythonC++/CPP.py View File

@@ -114,7 +114,7 @@ def translateStatement(s, state):
return f"{indentation})) {{" return f"{indentation})) {{"


ending = ";" ending = ";"
if state.isIf:
if state.isIf or state.isIfNot:
ending = "" ending = ""


# Unknown. # Unknown.


Loading…
Cancel
Save