From e1f8a0fd68c6a71c13f9cc4622a45e5ee87a27b8 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 8 Sep 2008 02:13:17 +0000 Subject: [PATCH] Fixed the compiler eating too many characters in macro subsitutions (bug amb1938). --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402526 --- sourcepawn/compiler/sc2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sourcepawn/compiler/sc2.c b/sourcepawn/compiler/sc2.c index 7db6e7fa..cb9a90ba 100644 --- a/sourcepawn/compiler/sc2.c +++ b/sourcepawn/compiler/sc2.c @@ -1641,7 +1641,6 @@ static int substpattern(unsigned char *line,size_t buffersize,char *pattern,char if (args[arg]!=NULL) { strins((char*)s,(char*)args[arg],strlen((char*)args[arg])); s+=strlen((char*)args[arg]); - e++; } else { error(236); /* parameter does not exist, incorrect #define pattern */ strins((char*)s,(char*)e,2);