|
Lines 10-16
Link Here
|
| 10 |
********************************************/ |
10 |
********************************************/ |
| 11 |
|
11 |
|
| 12 |
/* |
12 |
/* |
| 13 |
* $MawkId: rexp3.c,v 1.19 2010/02/17 11:38:24 Jonathan.Nieder Exp $ |
13 |
* $MawkId: rexp3.c,v 1.22 2010/02/21 02:05:44 tom Exp $ |
| 14 |
* @Log: rexp3.c,v @ |
14 |
* @Log: rexp3.c,v @ |
| 15 |
* Revision 1.3 1993/07/24 17:55:15 mike |
15 |
* Revision 1.3 1993/07/24 17:55:15 mike |
| 16 |
* more cleanup |
16 |
* more cleanup |
|
Lines 157-163
Link Here
|
| 157 |
goto reswitch; |
157 |
goto reswitch; |
| 158 |
|
158 |
|
| 159 |
case M_STR + U_ON + END_OFF: |
159 |
case M_STR + U_ON + END_OFF: |
| 160 |
if (!(s = str_str(s, str_len, m->s_data.str, m->s_len))) { |
160 |
if (s >= str_end) { |
|
|
161 |
goto refill; |
| 162 |
} |
| 163 |
if (!(s = str_str(s, (unsigned) (str_end - s), m->s_data.str, m->s_len))) { |
| 161 |
goto refill; |
164 |
goto refill; |
| 162 |
} |
165 |
} |
| 163 |
if (s >= str + strlen(str)) { |
166 |
if (s >= str + strlen(str)) { |
|
Lines 237-242
Link Here
|
| 237 |
s++; |
240 |
s++; |
| 238 |
} |
241 |
} |
| 239 |
} |
242 |
} |
|
|
243 |
if (s >= str_end) { |
| 244 |
goto refill; |
| 245 |
} |
| 240 |
s++; |
246 |
s++; |
| 241 |
push(m, s, sp, ss, U_ON); |
247 |
push(m, s, sp, ss, U_ON); |
| 242 |
if (!ss) { |
248 |
if (!ss) { |