~ubuntu-branches/ubuntu/trusty/ruby1.9/trusty

« back to all changes in this revision

Viewing changes to regexec.c

  • Committer: Bazaar Package Importer
  • Author(s): akira yamada
  • Date: 2006-07-13 22:43:47 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060713224347-zgeu5zwr4z6let68
Tags: 1.9.0+20060609-1
* new upstream snapshot. (2006-06-09)
* configure with -fno-strict-aliasing (Bug#370553)
* rdoc1.9 suggests graphviz (Bug#339524)
* debian/copyright: added a note for using libopenssl-ruby1.9.  (Bug#367024)
* debian/README.Debian: updated.  (Closes: #344294)
* added debian/patches/802_mkconfig.dpatch

Show diffs side-by-side

added added

removed removed

Lines of Context:
360
360
/* stack type check mask */
361
361
#define STK_MASK_POP_USED     0x00ff
362
362
#define IS_TO_VOID_TARGET(stk) \
363
 
     (((stk)->type & STK_MASK_POP_USED) || (stk)->type == STK_NULL_CHECK_START)
 
363
     (((stk)->type & STK_MASK_POP_USED) || \
 
364
       (stk)->type == STK_NULL_CHECK_START || (stk)->type == STK_NULL_CHECK_END)
364
365
 
365
366
typedef struct {
366
367
  void* stack_p;
3174
3175
      switch (reg->sub_anchor) {
3175
3176
      case ANCHOR_BEGIN_LINE:
3176
3177
        if (!ON_STR_BEGIN(p)) {
3177
 
          prev = onigenc_get_prev_char_head(reg->enc, adjrange, p);
 
3178
          prev = onigenc_get_prev_char_head(reg->enc, str, p);
3178
3179
          if (!ONIGENC_IS_MBC_NEWLINE(reg->enc, prev, end)) {
3179
3180
            p = prev;
3180
3181
            goto retry;