Change DEFINE statements to be specific to BFInterpreter

This commit is contained in:
2022-05-29 13:40:19 -04:00
parent c8a7a16a37
commit 5b71f216e0

View File

@@ -10,9 +10,9 @@
#define MAX_MEMORY_SIZE 30000
#define RETURN_SUCCESS 0
#define RETURN_INVALID_MEMORY_ADDRESS 1
#define RETURN_INVALID_INSTRUCTION 2
#define BF_RETURN_SUCCESS 0
#define BF_RETURN_INVALID_MEMORY_ADDRESS 1
#define BF_RETURN_INVALID_INSTRUCTION 2
class BFMachine
{