Remove old names for enums: memory semantics, scope ID
diff --git a/source/binary.cpp b/source/binary.cpp
index fe052cf..8657c55 100644
--- a/source/binary.cpp
+++ b/source/binary.cpp
@@ -428,8 +428,8 @@
       }
       break;
 
-    case SPV_OPERAND_TYPE_EXECUTION_SCOPE:
-    case SPV_OPERAND_TYPE_MEMORY_SEMANTICS:
+    case SPV_OPERAND_TYPE_SCOPE_ID:
+    case SPV_OPERAND_TYPE_MEMORY_SEMANTICS_ID:
       if (!word) return diagnostic() << spvOperandTypeStr(type) << " Id is 0";
       break;