Ruby
2.5.0dev(2017-10-22revision60238)
|
#include "regint.h"
Go to the source code of this file.
Data Structures | |
struct | StrNode |
struct | QtfrNode |
struct | EncloseNode |
struct | UnsetAddr |
struct | UnsetAddrList |
struct | CallNode |
struct | BRefNode |
struct | AnchorNode |
struct | ConsAltNode |
struct | CtypeNode |
struct | _Node |
struct | ScanEnv |
struct | GroupNumRemap |
Macros | |
#define | NT_STR 0 |
#define | NT_CCLASS 1 |
#define | NT_CTYPE 2 |
#define | NT_CANY 3 |
#define | NT_BREF 4 |
#define | NT_QTFR 5 |
#define | NT_ENCLOSE 6 |
#define | NT_ANCHOR 7 |
#define | NT_LIST 8 |
#define | NT_ALT 9 |
#define | NT_CALL 10 |
#define | NTYPE2BIT(type) (1<<(type)) |
#define | BIT_NT_STR NTYPE2BIT(NT_STR) |
#define | BIT_NT_CCLASS NTYPE2BIT(NT_CCLASS) |
#define | BIT_NT_CTYPE NTYPE2BIT(NT_CTYPE) |
#define | BIT_NT_CANY NTYPE2BIT(NT_CANY) |
#define | BIT_NT_BREF NTYPE2BIT(NT_BREF) |
#define | BIT_NT_QTFR NTYPE2BIT(NT_QTFR) |
#define | BIT_NT_ENCLOSE NTYPE2BIT(NT_ENCLOSE) |
#define | BIT_NT_ANCHOR NTYPE2BIT(NT_ANCHOR) |
#define | BIT_NT_LIST NTYPE2BIT(NT_LIST) |
#define | BIT_NT_ALT NTYPE2BIT(NT_ALT) |
#define | BIT_NT_CALL NTYPE2BIT(NT_CALL) |
#define | IS_NODE_TYPE_SIMPLE(type) |
#define | NTYPE(node) ((node)->u.base.type) |
#define | SET_NTYPE(node, ntype) |
#define | NSTR(node) (&((node)->u.str)) |
#define | NCCLASS(node) (&((node)->u.cclass)) |
#define | NCTYPE(node) (&((node)->u.ctype)) |
#define | NBREF(node) (&((node)->u.bref)) |
#define | NQTFR(node) (&((node)->u.qtfr)) |
#define | NENCLOSE(node) (&((node)->u.enclose)) |
#define | NANCHOR(node) (&((node)->u.anchor)) |
#define | NCONS(node) (&((node)->u.cons)) |
#define | NCALL(node) (&((node)->u.call)) |
#define | NCAR(node) (NCONS(node)->car) |
#define | NCDR(node) (NCONS(node)->cdr) |
#define | ANCHOR_ANYCHAR_STAR_MASK (ANCHOR_ANYCHAR_STAR | ANCHOR_ANYCHAR_STAR_ML) |
#define | ANCHOR_END_BUF_MASK (ANCHOR_END_BUF | ANCHOR_SEMI_END_BUF) |
#define | ENCLOSE_MEMORY (1<<0) |
#define | ENCLOSE_OPTION (1<<1) |
#define | ENCLOSE_STOP_BACKTRACK (1<<2) |
#define | ENCLOSE_CONDITION (1<<3) |
#define | ENCLOSE_ABSENT (1<<4) |
#define | NODE_STR_MARGIN 16 |
#define | NODE_STR_BUF_SIZE 24 /* sizeof(CClassNode) - sizeof(int)*4 */ |
#define | NODE_BACKREFS_SIZE 6 |
#define | NSTR_RAW (1<<0) /* by backslashed number */ |
#define | NSTR_AMBIG (1<<1) |
#define | NSTR_DONT_GET_OPT_INFO (1<<2) |
#define | NSTRING_LEN(node) (OnigDistance )((node)->u.str.end - (node)->u.str.s) |
#define | NSTRING_SET_RAW(node) (node)->u.str.flag |= NSTR_RAW |
#define | NSTRING_CLEAR_RAW(node) (node)->u.str.flag &= ~NSTR_RAW |
#define | NSTRING_SET_AMBIG(node) (node)->u.str.flag |= NSTR_AMBIG |
#define | NSTRING_SET_DONT_GET_OPT_INFO(node) (node)->u.str.flag |= NSTR_DONT_GET_OPT_INFO |
#define | NSTRING_IS_RAW(node) (((node)->u.str.flag & NSTR_RAW) != 0) |
#define | NSTRING_IS_AMBIG(node) (((node)->u.str.flag & NSTR_AMBIG) != 0) |
#define | NSTRING_IS_DONT_GET_OPT_INFO(node) (((node)->u.str.flag & NSTR_DONT_GET_OPT_INFO) != 0) |
#define | BACKREFS_P(br) (IS_NOT_NULL((br)->back_dynamic) ? (br)->back_dynamic : (br)->back_static); |
#define | NQ_TARGET_ISNOT_EMPTY 0 |
#define | NQ_TARGET_IS_EMPTY 1 |
#define | NQ_TARGET_IS_EMPTY_MEM 2 |
#define | NQ_TARGET_IS_EMPTY_REC 3 |
#define | NST_MIN_FIXED (1<<0) |
#define | NST_MAX_FIXED (1<<1) |
#define | NST_CLEN_FIXED (1<<2) |
#define | NST_MARK1 (1<<3) |
#define | NST_MARK2 (1<<4) |
#define | NST_MEM_BACKREFED (1<<5) |
#define | NST_STOP_BT_SIMPLE_REPEAT (1<<6) |
#define | NST_RECURSION (1<<7) |
#define | NST_CALLED (1<<8) |
#define | NST_ADDR_FIXED (1<<9) |
#define | NST_NAMED_GROUP (1<<10) |
#define | NST_NAME_REF (1<<11) |
#define | NST_IN_REPEAT (1<<12) /* STK_REPEAT is nested in stack. */ |
#define | NST_NEST_LEVEL (1<<13) |
#define | NST_BY_NUMBER (1<<14) /* {n,m} */ |
#define | SET_ENCLOSE_STATUS(node, f) (node)->u.enclose.state |= (f) |
#define | CLEAR_ENCLOSE_STATUS(node, f) (node)->u.enclose.state &= ~(f) |
#define | IS_ENCLOSE_CALLED(en) (((en)->state & NST_CALLED) != 0) |
#define | IS_ENCLOSE_ADDR_FIXED(en) (((en)->state & NST_ADDR_FIXED) != 0) |
#define | IS_ENCLOSE_RECURSION(en) (((en)->state & NST_RECURSION) != 0) |
#define | IS_ENCLOSE_MARK1(en) (((en)->state & NST_MARK1) != 0) |
#define | IS_ENCLOSE_MARK2(en) (((en)->state & NST_MARK2) != 0) |
#define | IS_ENCLOSE_MIN_FIXED(en) (((en)->state & NST_MIN_FIXED) != 0) |
#define | IS_ENCLOSE_MAX_FIXED(en) (((en)->state & NST_MAX_FIXED) != 0) |
#define | IS_ENCLOSE_CLEN_FIXED(en) (((en)->state & NST_CLEN_FIXED) != 0) |
#define | IS_ENCLOSE_STOP_BT_SIMPLE_REPEAT(en) (((en)->state & NST_STOP_BT_SIMPLE_REPEAT) != 0) |
#define | IS_ENCLOSE_NAMED_GROUP(en) (((en)->state & NST_NAMED_GROUP) != 0) |
#define | IS_ENCLOSE_NAME_REF(en) (((en)->state & NST_NAME_REF) != 0) |
#define | SET_CALL_RECURSION(node) (node)->u.call.state |= NST_RECURSION |
#define | IS_CALL_RECURSION(cn) (((cn)->state & NST_RECURSION) != 0) |
#define | IS_CALL_NAME_REF(cn) (((cn)->state & NST_NAME_REF) != 0) |
#define | IS_BACKREF_NAME_REF(bn) (((bn)->state & NST_NAME_REF) != 0) |
#define | IS_BACKREF_NEST_LEVEL(bn) (((bn)->state & NST_NEST_LEVEL) != 0) |
#define | IS_QUANTIFIER_IN_REPEAT(qn) (((qn)->state & NST_IN_REPEAT) != 0) |
#define | IS_QUANTIFIER_BY_NUMBER(qn) (((qn)->state & NST_BY_NUMBER) != 0) |
#define | CALLNODE_REFNUM_UNDEF -1 |
#define | NULL_NODE ((Node* )0) |
#define | SCANENV_MEMNODES_SIZE 8 |
#define | SCANENV_MEM_NODES(senv) |
#define | IS_SYNTAX_OP(syn, opm) (((syn)->op & (opm)) != 0) |
#define | IS_SYNTAX_OP2(syn, opm) (((syn)->op2 & (opm)) != 0) |
#define | IS_SYNTAX_BV(syn, bvm) (((syn)->behavior & (bvm)) != 0) |
Typedefs | |
typedef struct _Node | Node |
#define ANCHOR_ANYCHAR_STAR_MASK (ANCHOR_ANYCHAR_STAR | ANCHOR_ANYCHAR_STAR_ML) |
Definition at line 91 of file regparse.h.
#define ANCHOR_END_BUF_MASK (ANCHOR_END_BUF | ANCHOR_SEMI_END_BUF) |
Definition at line 92 of file regparse.h.
#define BACKREFS_P | ( | br | ) | (IS_NOT_NULL((br)->back_dynamic) ? (br)->back_dynamic : (br)->back_static); |
Definition at line 119 of file regparse.h.
Referenced by onig_is_code_in_cc().
Definition at line 62 of file regparse.h.
Definition at line 60 of file regparse.h.
Definition at line 57 of file regparse.h.
Definition at line 63 of file regparse.h.
Definition at line 56 of file regparse.h.
Definition at line 54 of file regparse.h.
Definition at line 55 of file regparse.h.
#define BIT_NT_ENCLOSE NTYPE2BIT(NT_ENCLOSE) |
Definition at line 59 of file regparse.h.
Definition at line 61 of file regparse.h.
Definition at line 58 of file regparse.h.
Definition at line 53 of file regparse.h.
#define CALLNODE_REFNUM_UNDEF -1 |
Definition at line 168 of file regparse.h.
Definition at line 145 of file regparse.h.
#define ENCLOSE_ABSENT (1<<4) |
Definition at line 98 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define ENCLOSE_CONDITION (1<<3) |
Definition at line 97 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define ENCLOSE_MEMORY (1<<0) |
Definition at line 94 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define ENCLOSE_OPTION (1<<1) |
Definition at line 95 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define ENCLOSE_STOP_BACKTRACK (1<<2) |
Definition at line 96 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define IS_BACKREF_NAME_REF | ( | bn | ) | (((bn)->state & NST_NAME_REF) != 0) |
Definition at line 163 of file regparse.h.
#define IS_BACKREF_NEST_LEVEL | ( | bn | ) | (((bn)->state & NST_NEST_LEVEL) != 0) |
Definition at line 164 of file regparse.h.
#define IS_CALL_NAME_REF | ( | cn | ) | (((cn)->state & NST_NAME_REF) != 0) |
Definition at line 162 of file regparse.h.
#define IS_CALL_RECURSION | ( | cn | ) | (((cn)->state & NST_RECURSION) != 0) |
Definition at line 161 of file regparse.h.
#define IS_ENCLOSE_ADDR_FIXED | ( | en | ) | (((en)->state & NST_ADDR_FIXED) != 0) |
Definition at line 148 of file regparse.h.
#define IS_ENCLOSE_CALLED | ( | en | ) | (((en)->state & NST_CALLED) != 0) |
Definition at line 147 of file regparse.h.
#define IS_ENCLOSE_CLEN_FIXED | ( | en | ) | (((en)->state & NST_CLEN_FIXED) != 0) |
Definition at line 154 of file regparse.h.
#define IS_ENCLOSE_MARK1 | ( | en | ) | (((en)->state & NST_MARK1) != 0) |
Definition at line 150 of file regparse.h.
#define IS_ENCLOSE_MARK2 | ( | en | ) | (((en)->state & NST_MARK2) != 0) |
Definition at line 151 of file regparse.h.
#define IS_ENCLOSE_MAX_FIXED | ( | en | ) | (((en)->state & NST_MAX_FIXED) != 0) |
Definition at line 153 of file regparse.h.
#define IS_ENCLOSE_MIN_FIXED | ( | en | ) | (((en)->state & NST_MIN_FIXED) != 0) |
Definition at line 152 of file regparse.h.
#define IS_ENCLOSE_NAME_REF | ( | en | ) | (((en)->state & NST_NAME_REF) != 0) |
Definition at line 158 of file regparse.h.
#define IS_ENCLOSE_NAMED_GROUP | ( | en | ) | (((en)->state & NST_NAMED_GROUP) != 0) |
Definition at line 157 of file regparse.h.
#define IS_ENCLOSE_RECURSION | ( | en | ) | (((en)->state & NST_RECURSION) != 0) |
Definition at line 149 of file regparse.h.
#define IS_ENCLOSE_STOP_BT_SIMPLE_REPEAT | ( | en | ) | (((en)->state & NST_STOP_BT_SIMPLE_REPEAT) != 0) |
Definition at line 155 of file regparse.h.
#define IS_NODE_TYPE_SIMPLE | ( | type | ) |
Definition at line 65 of file regparse.h.
#define IS_QUANTIFIER_BY_NUMBER | ( | qn | ) | (((qn)->state & NST_BY_NUMBER) != 0) |
Definition at line 166 of file regparse.h.
#define IS_QUANTIFIER_IN_REPEAT | ( | qn | ) | (((qn)->state & NST_IN_REPEAT) != 0) |
Definition at line 165 of file regparse.h.
#define IS_SYNTAX_BV | ( | syn, | |
bvm | |||
) | (((syn)->behavior & (bvm)) != 0) |
Definition at line 332 of file regparse.h.
Referenced by onig_compile_ruby(), and onig_noname_group_capture_is_active().
#define IS_SYNTAX_OP | ( | syn, | |
opm | |||
) | (((syn)->op & (opm)) != 0) |
Definition at line 330 of file regparse.h.
#define IS_SYNTAX_OP2 | ( | syn, | |
opm | |||
) | (((syn)->op2 & (opm)) != 0) |
Definition at line 331 of file regparse.h.
#define NANCHOR | ( | node | ) | (&((node)->u.anchor)) |
Definition at line 82 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define NBREF | ( | node | ) | (&((node)->u.bref)) |
Definition at line 79 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define NCALL | ( | node | ) | (&((node)->u.call)) |
Definition at line 84 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define NCAR | ( | node | ) | (NCONS(node)->car) |
Definition at line 86 of file regparse.h.
Referenced by onig_is_code_in_cc(), and onig_node_free().
#define NCCLASS | ( | node | ) | (&((node)->u.cclass)) |
Definition at line 77 of file regparse.h.
Referenced by onig_is_code_in_cc(), and onig_node_free().
#define NCDR | ( | node | ) | (NCONS(node)->cdr) |
Definition at line 87 of file regparse.h.
Referenced by onig_is_code_in_cc(), onig_node_free(), and onig_node_list_add().
#define NCONS | ( | node | ) | (&((node)->u.cons)) |
Definition at line 83 of file regparse.h.
#define NCTYPE | ( | node | ) | (&((node)->u.ctype)) |
Definition at line 78 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define NENCLOSE | ( | node | ) | (&((node)->u.enclose)) |
Definition at line 81 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define NODE_BACKREFS_SIZE 6 |
Definition at line 102 of file regparse.h.
#define NODE_STR_BUF_SIZE 24 /* sizeof(CClassNode) - sizeof(int)*4 */ |
Definition at line 101 of file regparse.h.
Referenced by onig_node_str_cat().
#define NODE_STR_MARGIN 16 |
Definition at line 100 of file regparse.h.
Referenced by onig_node_str_cat().
#define NQ_TARGET_IS_EMPTY 1 |
Definition at line 123 of file regparse.h.
#define NQ_TARGET_IS_EMPTY_MEM 2 |
Definition at line 124 of file regparse.h.
#define NQ_TARGET_IS_EMPTY_REC 3 |
Definition at line 125 of file regparse.h.
#define NQ_TARGET_ISNOT_EMPTY 0 |
Definition at line 122 of file regparse.h.
#define NQTFR | ( | node | ) | (&((node)->u.qtfr)) |
Definition at line 80 of file regparse.h.
Referenced by onig_is_code_in_cc(), and onig_reduce_nested_quantifier().
#define NST_ADDR_FIXED (1<<9) |
Definition at line 137 of file regparse.h.
#define NST_BY_NUMBER (1<<14) /* {n,m} */ |
Definition at line 142 of file regparse.h.
#define NST_CALLED (1<<8) |
Definition at line 136 of file regparse.h.
#define NST_CLEN_FIXED (1<<2) |
Definition at line 130 of file regparse.h.
#define NST_IN_REPEAT (1<<12) /* STK_REPEAT is nested in stack. */ |
Definition at line 140 of file regparse.h.
#define NST_MARK1 (1<<3) |
Definition at line 131 of file regparse.h.
#define NST_MARK2 (1<<4) |
Definition at line 132 of file regparse.h.
#define NST_MAX_FIXED (1<<1) |
Definition at line 129 of file regparse.h.
#define NST_MEM_BACKREFED (1<<5) |
Definition at line 133 of file regparse.h.
#define NST_MIN_FIXED (1<<0) |
Definition at line 128 of file regparse.h.
#define NST_NAME_REF (1<<11) |
Definition at line 139 of file regparse.h.
#define NST_NAMED_GROUP (1<<10) |
Definition at line 138 of file regparse.h.
#define NST_NEST_LEVEL (1<<13) |
Definition at line 141 of file regparse.h.
#define NST_RECURSION (1<<7) |
Definition at line 135 of file regparse.h.
#define NST_STOP_BT_SIMPLE_REPEAT (1<<6) |
Definition at line 134 of file regparse.h.
#define NSTR | ( | node | ) | (&((node)->u.str)) |
Definition at line 76 of file regparse.h.
Referenced by onig_is_code_in_cc(), onig_node_free(), onig_node_str_cat(), and onig_node_str_clear().
#define NSTR_AMBIG (1<<1) |
Definition at line 105 of file regparse.h.
#define NSTR_DONT_GET_OPT_INFO (1<<2) |
Definition at line 106 of file regparse.h.
#define NSTR_RAW (1<<0) /* by backslashed number */ |
Definition at line 104 of file regparse.h.
#define NSTRING_CLEAR_RAW | ( | node | ) | (node)->u.str.flag &= ~NSTR_RAW |
Definition at line 110 of file regparse.h.
#define NSTRING_IS_AMBIG | ( | node | ) | (((node)->u.str.flag & NSTR_AMBIG) != 0) |
Definition at line 115 of file regparse.h.
#define NSTRING_IS_DONT_GET_OPT_INFO | ( | node | ) | (((node)->u.str.flag & NSTR_DONT_GET_OPT_INFO) != 0) |
Definition at line 116 of file regparse.h.
#define NSTRING_IS_RAW | ( | node | ) | (((node)->u.str.flag & NSTR_RAW) != 0) |
Definition at line 114 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define NSTRING_LEN | ( | node | ) | (OnigDistance )((node)->u.str.end - (node)->u.str.s) |
Definition at line 108 of file regparse.h.
#define NSTRING_SET_AMBIG | ( | node | ) | (node)->u.str.flag |= NSTR_AMBIG |
Definition at line 111 of file regparse.h.
#define NSTRING_SET_DONT_GET_OPT_INFO | ( | node | ) | (node)->u.str.flag |= NSTR_DONT_GET_OPT_INFO |
Definition at line 112 of file regparse.h.
#define NSTRING_SET_RAW | ( | node | ) | (node)->u.str.flag |= NSTR_RAW |
Definition at line 109 of file regparse.h.
#define NT_ALT 9 |
Definition at line 47 of file regparse.h.
Referenced by onig_is_code_in_cc(), and onig_node_free().
#define NT_ANCHOR 7 |
Definition at line 45 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define NT_BREF 4 |
Definition at line 42 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define NT_CALL 10 |
Definition at line 48 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define NT_CANY 3 |
Definition at line 41 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define NT_CCLASS 1 |
Definition at line 39 of file regparse.h.
Referenced by onig_is_code_in_cc(), and onig_node_free().
#define NT_CTYPE 2 |
Definition at line 40 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define NT_ENCLOSE 6 |
Definition at line 44 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define NT_LIST 8 |
Definition at line 46 of file regparse.h.
Referenced by onig_is_code_in_cc(), and onig_node_free().
#define NT_QTFR 5 |
Definition at line 43 of file regparse.h.
Referenced by onig_is_code_in_cc().
#define NT_STR 0 |
Definition at line 38 of file regparse.h.
Referenced by onig_is_code_in_cc(), and onig_node_free().
#define NTYPE | ( | node | ) | ((node)->u.base.type) |
Definition at line 69 of file regparse.h.
Referenced by onig_is_code_in_cc(), and onig_node_free().
#define NTYPE2BIT | ( | type | ) | (1<<(type)) |
Definition at line 51 of file regparse.h.
#define NULL_NODE ((Node* )0) |
Definition at line 283 of file regparse.h.
Referenced by onig_node_list_add().
#define SCANENV_MEM_NODES | ( | senv | ) |
Definition at line 286 of file regparse.h.
#define SCANENV_MEMNODES_SIZE 8 |
Definition at line 285 of file regparse.h.
#define SET_CALL_RECURSION | ( | node | ) | (node)->u.call.state |= NST_RECURSION |
Definition at line 160 of file regparse.h.
Definition at line 144 of file regparse.h.
#define SET_NTYPE | ( | node, | |
ntype | |||
) |
Definition at line 70 of file regparse.h.
int onig_free_shared_cclass_table | ( | void | ) |
int onig_names_free | ( | regex_t * | reg | ) |
Definition at line 525 of file regparse.c.
Referenced by onig_free_body().
void onig_node_conv_to_str_node | ( | Node * | node, |
int | raw | ||
) |
void onig_node_free | ( | Node * | node | ) |
Definition at line 1062 of file regparse.c.
References buf, IS_NOT_NULL, IS_NULL, CClassNode::mbuf, NCAR, NCCLASS, NCDR, NSTR, NT_ALT, NT_CCLASS, NT_LIST, NT_STR, NTYPE, onig_node_free(), return, and xfree().
Referenced by onig_node_free().
Definition at line 1192 of file regparse.c.
References IS_NOT_NULL, IS_NULL, NCDR, NULL, NULL_NODE, and onig_node_new_list().
Definition at line 1210 of file regparse.c.
Node* onig_node_new_anchor | ( | int | type | ) |
Definition at line 1222 of file regparse.c.
Node* onig_node_new_enclose | ( | int | type | ) |
Definition at line 1347 of file regparse.c.
Definition at line 1186 of file regparse.c.
Referenced by onig_node_list_add().
Definition at line 1481 of file regparse.c.
Definition at line 1376 of file regparse.c.
References buf, len, NODE_STR_BUF_SIZE, NODE_STR_MARGIN, NSTR, onig_strcpy(), and UChar.
Referenced by onig_node_str_set().
void onig_node_str_clear | ( | Node * | node | ) |
Definition at line 1449 of file regparse.c.
References buf, IS_NOT_NULL, NSTR, and xfree().
Referenced by onig_node_str_set().
Definition at line 1412 of file regparse.c.
References onig_node_str_cat(), and onig_node_str_clear().
Definition at line 2204 of file regparse.c.
References NQTFR.
int onig_renumber_name_table | ( | regex_t * | reg, |
GroupNumRemap * | map | ||
) |
Definition at line 611 of file regparse.c.
References if(), IS_NOT_NULL, and re_pattern_buffer::name_table.
Definition at line 7040 of file regparse.c.
References ScanEnv::error, and ScanEnv::error_end.
int onig_scan_unsigned_number | ( | UChar ** | src, |
const UChar * | end, | ||
OnigEncoding | enc | ||
) |
Definition at line 1556 of file regparse.c.
References DIGITVAL, INT_MAX_LIMIT, ONIGENC_IS_CODE_DIGIT, PEND, PFETCH, PFETCH_READY, PUNFETCH, UChar, and val.
Definition at line 259 of file regparse.c.
References len, UChar, and xmemcpy.
Referenced by onig_node_str_cat().