PennMUSH Community

Ticket #7530: english-match.patch.txt

File english-match.patch.txt, 0.7 kB (added by Talvo, 8 months ago)
Line 
1 *** src/match.c.orig    Tue Jun 12 23:21:48 2007
2 --- src/match.c Sun Jan  6 16:52:19 2008
3 ***************
4 *** 242,249 ****
5  
6     sname = name = mush_strdup(xname, "mri.string");
7  
8 !   /* Check for adjective phrases */
9 !   matchnum = parse_english(&name, &flags);
10  
11     /* Perform matching. We've already had flags restricted by any
12      * adjective phrases. If matchnum is set, collect the matchnum'th
13 --- 242,251 ----
14  
15     sname = name = mush_strdup(xname, "mri.string");
16  
17 !   if (flags & MAT_ENGLISH) {
18 !     /* Check for adjective phrases */
19 !     matchnum = parse_english(&name, &flags);
20 !   }
21  
22     /* Perform matching. We've already had flags restricted by any
23      * adjective phrases. If matchnum is set, collect the matchnum'th