Fixed the compiler eating too many characters in macro subsitutions (bug amb1938).
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402526
This commit is contained in:
parent
e141cf74d5
commit
e1f8a0fd68
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user