Skip to content

Commit

Permalink
Moved reusable labels max to storage.h, and increased it to 4096
Browse files Browse the repository at this point in the history
  • Loading branch information
alberthdev committed Jan 29, 2015
1 parent 30b5334 commit 3f2dd00
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions storage.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#include "stdafx.h"

#define MAX_REUSABLES 512

#include "spasm.h"
#include "storage.h"
#include "utils.h"
Expand Down
1 change: 1 addition & 0 deletions storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3f2dd00

Please sign in to comment.