From 6cda526bd4efcee31b1ea7405dc46d7985ba64e6 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 4 Jan 2024 21:36:54 +0100 Subject: masm: fix assembler bug where addr1, 0x0 (add r1, 0x0) doesn't error out. cc/ccplus: minor compiler changes, will get to them very soon... refactor: rename C++Kit to CompilerKit. Signed-off-by: Amlal El Mahrouss --- CompilerKit/StdKit/ErrorID.hpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 CompilerKit/StdKit/ErrorID.hpp (limited to 'CompilerKit/StdKit/ErrorID.hpp') diff --git a/CompilerKit/StdKit/ErrorID.hpp b/CompilerKit/StdKit/ErrorID.hpp new file mode 100644 index 0000000..b4b204c --- /dev/null +++ b/CompilerKit/StdKit/ErrorID.hpp @@ -0,0 +1,22 @@ +/* + * ======================================================== + * + * CompilerKit + * Copyright Western Company, all rights reserved. + * + * ======================================================== + */ + +#pragma once + +#include +#include + +#define CXXKIT_EXEC_ERROR -30 +#define CXXKIT_FILE_NOT_FOUND -31 +#define CXXKIT_DIR_NOT_FOUND -32 +#define CXXKIT_FILE_EXISTS -33 +#define CXXKIT_TOO_LONG -34 +#define CXXKIT_INVALID_DATA -35 +#define CXXKIT_UNIMPLEMENTED -36 +#define CXXKIT_FAT_ERROR -37 -- cgit v1.2.3