From 262fd6219de30007ac878c2c1b4bda431ce13342 Mon Sep 17 00:00:00 2001 From: EDiasAlberto Date: Wed, 5 Jun 2024 21:10:31 +0100 Subject: [PATCH] conditional definition of parser constants --- src/parser.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/parser.h b/src/parser.h index 8088efa..5c3a461 100644 --- a/src/parser.h +++ b/src/parser.h @@ -1,2 +1,5 @@ +#ifndef __PARSERCONSTS__ +#define __PARSERCONSTS__ #define OPERAND_DELIMITER ", " -#define HALT_ASM_CMD "and x0, x0, x0" \ No newline at end of file +#define HALT_ASM_CMD "and x0, x0, x0" +#endif \ No newline at end of file