add error code CS_ERR_X86_MASM
diff --git a/cs.c b/cs.c
index 1d60291..a6abb99 100644
--- a/cs.c
+++ b/cs.c
@@ -181,6 +181,12 @@
return "Information irrelevant in diet engine (CS_ERR_DIET)";
case CS_ERR_SKIPDATA:
return "Information irrelevant for 'data' instruction in SKIPDATA mode (CS_ERR_SKIPDATA)";
+ case CS_ERR_X86_ATT:
+ return "AT&T syntax is unavailable (CS_ERR_X86_ATT)";
+ case CS_ERR_X86_INTEL:
+ return "INTEL syntax is unavailable (CS_ERR_X86_INTEL)";
+ case CS_ERR_X86_MASM:
+ return "MASM syntax is unavailable (CS_ERR_X86_MASM)";
}
}
diff --git a/include/capstone/capstone.h b/include/capstone/capstone.h
index b49e03f..2e49168 100644
--- a/include/capstone/capstone.h
+++ b/include/capstone/capstone.h
@@ -326,6 +326,7 @@
CS_ERR_SKIPDATA, // Access irrelevant data for "data" instruction in SKIPDATA mode
CS_ERR_X86_ATT, // X86 AT&T syntax is unsupported (opt-out at compile time)
CS_ERR_X86_INTEL, // X86 Intel syntax is unsupported (opt-out at compile time)
+ CS_ERR_X86_MASM, // X86 Intel syntax is unsupported (opt-out at compile time)
} cs_err;
/*