From 3f2dd00890e30af23c103ee27e0f9941b2563fe0 Mon Sep 17 00:00:00 2001 From: Albert Huang Date: Wed, 28 Jan 2015 21:43:51 -0500 Subject: [PATCH] Moved reusable labels max to storage.h, and increased it to 4096 --- storage.cpp | 2 -- storage.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/storage.cpp b/storage.cpp index 92767f4..d46e9f7 100644 --- a/storage.cpp +++ b/storage.cpp @@ -1,7 +1,5 @@ #include "stdafx.h" -#define MAX_REUSABLES 512 - #include "spasm.h" #include "storage.h" #include "utils.h" diff --git a/storage.h b/storage.h index e823d59..8fa25fb 100644 --- a/storage.h +++ b/storage.h @@ -12,6 +12,7 @@ #define MAX_ARGS 16 //max number of args macros can have #define MAX_LABELS 65521 //prime number for hash table #define MAX_DEFINES 65521 //prime number for hash table +#define MAX_REUSABLES 4096 //max number of reusable labels //used for defines and macros typedef struct define {