comparison src/regex.c @ 26:441bb1e64a06 r19-15b96

Import from CVS: tag r19-15b96
author cvs
date Mon, 13 Aug 2007 08:51:32 +0200
parents 0293115a14e9
children 131b0175ea99
comparison
equal deleted inserted replaced
25:383a494979f8 26:441bb1e64a06
4598 #ifdef DEBUG 4598 #ifdef DEBUG
4599 register unsigned char c 4599 register unsigned char c
4600 = *p2 == (unsigned char) endline ? '\n' : p2[2]; 4600 = *p2 == (unsigned char) endline ? '\n' : p2[2];
4601 #endif 4601 #endif
4602 4602
4603 #if 1
4604 /* dmoore@ucsd.edu - emacs 19.34 uses this: */
4605
4603 if ((re_opcode_t) p1[3] == exactn 4606 if ((re_opcode_t) p1[3] == exactn
4604 && ! ((int) p2[1] * BYTEWIDTH > (int) p1[4] 4607 && ! ((int) p2[1] * BYTEWIDTH > (int) p1[5]
4605 && (p2[1 + p1[4] / BYTEWIDTH] 4608 && (p2[2 + p1[5] / BYTEWIDTH]
4606 & (1 << (p1[4] % BYTEWIDTH))))) 4609 & (1 << (p1[5] % BYTEWIDTH)))))
4610 #else
4611 if ((re_opcode_t) p1[3] == exactn
4612 && ! ((int) p2[1] * BYTEWIDTH > (int) p1[4]
4613 && (p2[1 + p1[4] / BYTEWIDTH]
4614 & (1 << (p1[4] % BYTEWIDTH)))))
4615 #endif
4607 { 4616 {
4608 p[-3] = (unsigned char) pop_failure_jump; 4617 p[-3] = (unsigned char) pop_failure_jump;
4609 DEBUG_PRINT3 (" %c != %c => pop_failure_jump.\n", 4618 DEBUG_PRINT3 (" %c != %c => pop_failure_jump.\n",
4610 c, p1[5]); 4619 c, p1[5]);
4611 } 4620 }