From 123c7f6b0616729ece80a7dc9caa9415aa48e718 Mon Sep 17 00:00:00 2001 From: David Anderson <dvander@alliedmods.net> Date: Sun, 22 Jun 2014 22:16:41 -0700 Subject: [PATCH] Fix METHOD_NAMEMAX. --- sourcepawn/compiler/sc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcepawn/compiler/sc.h b/sourcepawn/compiler/sc.h index 38fd4538..b16bddfb 100644 --- a/sourcepawn/compiler/sc.h +++ b/sourcepawn/compiler/sc.h @@ -311,7 +311,7 @@ typedef struct { // The method name buffer is larger since we can include our parent class's // name, a "." to separate it, a "~" for constructors, or a ".get/.set" for // accessors. -#define METHOD_NAMEMAX sNAMEMAX * 6 + 2 +#define METHOD_NAMEMAX sNAMEMAX * 2 + 6 typedef struct { token_t tok;