|
|
@ -1,5 +1,5 @@
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
** $Id: lstrlib.c,v 1.176 2012/05/23 15:37:09 roberto Exp $
|
|
|
|
** $Id: lstrlib.c,v 1.178.1.1 2013/04/12 18:48:47 roberto Exp $
|
|
|
|
** Standard library for string operations and pattern-matching
|
|
|
|
** Standard library for string operations and pattern-matching
|
|
|
|
** See Copyright Notice in lua.h
|
|
|
|
** See Copyright Notice in lua.h
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -194,7 +194,9 @@ static int str_dump (lua_State *L) {
|
|
|
|
#define CAP_UNFINISHED (-1)
|
|
|
|
#define CAP_UNFINISHED (-1)
|
|
|
|
#define CAP_POSITION (-2)
|
|
|
|
#define CAP_POSITION (-2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct MatchState {
|
|
|
|
typedef struct MatchState {
|
|
|
|
|
|
|
|
int matchdepth; /* control for recursive depth (to avoid C stack overflow) */
|
|
|
|
const char *src_init; /* init of source string */
|
|
|
|
const char *src_init; /* init of source string */
|
|
|
|
const char *src_end; /* end ('\0') of source string */
|
|
|
|
const char *src_end; /* end ('\0') of source string */
|
|
|
|
const char *p_end; /* end ('\0') of pattern */
|
|
|
|
const char *p_end; /* end ('\0') of pattern */
|
|
|
@ -207,6 +209,16 @@ typedef struct MatchState {
|
|
|
|
} MatchState;
|
|
|
|
} MatchState;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* recursive function */
|
|
|
|
|
|
|
|
static const char *match (MatchState *ms, const char *s, const char *p);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* maximum recursion depth for 'match' */
|
|
|
|
|
|
|
|
#if !defined(MAXCCALLS)
|
|
|
|
|
|
|
|
#define MAXCCALLS 200
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define L_ESC '%'
|
|
|
|
#define L_ESC '%'
|
|
|
|
#define SPECIALS "^$*+?.([%-"
|
|
|
|
#define SPECIALS "^$*+?.([%-"
|
|
|
|
|
|
|
|
|
|
|
@ -294,19 +306,22 @@ static int matchbracketclass (int c, const char *p, const char *ec) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int singlematch (int c, const char *p, const char *ep) {
|
|
|
|
static int singlematch (MatchState *ms, const char *s, const char *p,
|
|
|
|
switch (*p) {
|
|
|
|
const char *ep) {
|
|
|
|
case '.': return 1; /* matches any char */
|
|
|
|
if (s >= ms->src_end)
|
|
|
|
case L_ESC: return match_class(c, uchar(*(p+1)));
|
|
|
|
return 0;
|
|
|
|
case '[': return matchbracketclass(c, p, ep-1);
|
|
|
|
else {
|
|
|
|
default: return (uchar(*p) == c);
|
|
|
|
int c = uchar(*s);
|
|
|
|
|
|
|
|
switch (*p) {
|
|
|
|
|
|
|
|
case '.': return 1; /* matches any char */
|
|
|
|
|
|
|
|
case L_ESC: return match_class(c, uchar(*(p+1)));
|
|
|
|
|
|
|
|
case '[': return matchbracketclass(c, p, ep-1);
|
|
|
|
|
|
|
|
default: return (uchar(*p) == c);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const char *match (MatchState *ms, const char *s, const char *p);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const char *matchbalance (MatchState *ms, const char *s,
|
|
|
|
static const char *matchbalance (MatchState *ms, const char *s,
|
|
|
|
const char *p) {
|
|
|
|
const char *p) {
|
|
|
|
if (p >= ms->p_end - 1)
|
|
|
|
if (p >= ms->p_end - 1)
|
|
|
@ -331,7 +346,7 @@ static const char *matchbalance (MatchState *ms, const char *s,
|
|
|
|
static const char *max_expand (MatchState *ms, const char *s,
|
|
|
|
static const char *max_expand (MatchState *ms, const char *s,
|
|
|
|
const char *p, const char *ep) {
|
|
|
|
const char *p, const char *ep) {
|
|
|
|
ptrdiff_t i = 0; /* counts maximum expand for item */
|
|
|
|
ptrdiff_t i = 0; /* counts maximum expand for item */
|
|
|
|
while ((s+i)<ms->src_end && singlematch(uchar(*(s+i)), p, ep))
|
|
|
|
while (singlematch(ms, s + i, p, ep))
|
|
|
|
i++;
|
|
|
|
i++;
|
|
|
|
/* keeps trying to match with the maximum repetitions */
|
|
|
|
/* keeps trying to match with the maximum repetitions */
|
|
|
|
while (i>=0) {
|
|
|
|
while (i>=0) {
|
|
|
@ -349,7 +364,7 @@ static const char *min_expand (MatchState *ms, const char *s,
|
|
|
|
const char *res = match(ms, s, ep+1);
|
|
|
|
const char *res = match(ms, s, ep+1);
|
|
|
|
if (res != NULL)
|
|
|
|
if (res != NULL)
|
|
|
|
return res;
|
|
|
|
return res;
|
|
|
|
else if (s<ms->src_end && singlematch(uchar(*s), p, ep))
|
|
|
|
else if (singlematch(ms, s, p, ep))
|
|
|
|
s++; /* try with one more repetition */
|
|
|
|
s++; /* try with one more repetition */
|
|
|
|
else return NULL;
|
|
|
|
else return NULL;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -393,79 +408,105 @@ static const char *match_capture (MatchState *ms, const char *s, int l) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const char *match (MatchState *ms, const char *s, const char *p) {
|
|
|
|
static const char *match (MatchState *ms, const char *s, const char *p) {
|
|
|
|
|
|
|
|
if (ms->matchdepth-- == 0)
|
|
|
|
|
|
|
|
luaL_error(ms->L, "pattern too complex");
|
|
|
|
init: /* using goto's to optimize tail recursion */
|
|
|
|
init: /* using goto's to optimize tail recursion */
|
|
|
|
if (p == ms->p_end) /* end of pattern? */
|
|
|
|
if (p != ms->p_end) { /* end of pattern? */
|
|
|
|
return s; /* match succeeded */
|
|
|
|
switch (*p) {
|
|
|
|
switch (*p) {
|
|
|
|
case '(': { /* start capture */
|
|
|
|
case '(': { /* start capture */
|
|
|
|
if (*(p + 1) == ')') /* position capture? */
|
|
|
|
if (*(p+1) == ')') /* position capture? */
|
|
|
|
s = start_capture(ms, s, p + 2, CAP_POSITION);
|
|
|
|
return start_capture(ms, s, p+2, CAP_POSITION);
|
|
|
|
else
|
|
|
|
else
|
|
|
|
s = start_capture(ms, s, p + 1, CAP_UNFINISHED);
|
|
|
|
return start_capture(ms, s, p+1, CAP_UNFINISHED);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
case ')': { /* end capture */
|
|
|
|
|
|
|
|
return end_capture(ms, s, p+1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case '$': {
|
|
|
|
|
|
|
|
if ((p+1) == ms->p_end) /* is the `$' the last char in pattern? */
|
|
|
|
|
|
|
|
return (s == ms->src_end) ? s : NULL; /* check end of string */
|
|
|
|
|
|
|
|
else goto dflt;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case L_ESC: { /* escaped sequences not in the format class[*+?-]? */
|
|
|
|
|
|
|
|
switch (*(p+1)) {
|
|
|
|
|
|
|
|
case 'b': { /* balanced string? */
|
|
|
|
|
|
|
|
s = matchbalance(ms, s, p+2);
|
|
|
|
|
|
|
|
if (s == NULL) return NULL;
|
|
|
|
|
|
|
|
p+=4; goto init; /* else return match(ms, s, p+4); */
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case 'f': { /* frontier? */
|
|
|
|
|
|
|
|
const char *ep; char previous;
|
|
|
|
|
|
|
|
p += 2;
|
|
|
|
|
|
|
|
if (*p != '[')
|
|
|
|
|
|
|
|
luaL_error(ms->L, "missing " LUA_QL("[") " after "
|
|
|
|
|
|
|
|
LUA_QL("%%f") " in pattern");
|
|
|
|
|
|
|
|
ep = classend(ms, p); /* points to what is next */
|
|
|
|
|
|
|
|
previous = (s == ms->src_init) ? '\0' : *(s-1);
|
|
|
|
|
|
|
|
if (matchbracketclass(uchar(previous), p, ep-1) ||
|
|
|
|
|
|
|
|
!matchbracketclass(uchar(*s), p, ep-1)) return NULL;
|
|
|
|
|
|
|
|
p=ep; goto init; /* else return match(ms, s, ep); */
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case '0': case '1': case '2': case '3':
|
|
|
|
|
|
|
|
case '4': case '5': case '6': case '7':
|
|
|
|
|
|
|
|
case '8': case '9': { /* capture results (%0-%9)? */
|
|
|
|
|
|
|
|
s = match_capture(ms, s, uchar(*(p+1)));
|
|
|
|
|
|
|
|
if (s == NULL) return NULL;
|
|
|
|
|
|
|
|
p+=2; goto init; /* else return match(ms, s, p+2) */
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
default: goto dflt;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case ')': { /* end capture */
|
|
|
|
default: dflt: { /* pattern class plus optional suffix */
|
|
|
|
s = end_capture(ms, s, p + 1);
|
|
|
|
const char *ep = classend(ms, p); /* points to what is next */
|
|
|
|
break;
|
|
|
|
int m = s < ms->src_end && singlematch(uchar(*s), p, ep);
|
|
|
|
}
|
|
|
|
switch (*ep) {
|
|
|
|
case '$': {
|
|
|
|
case '?': { /* optional */
|
|
|
|
if ((p + 1) != ms->p_end) /* is the `$' the last char in pattern? */
|
|
|
|
const char *res;
|
|
|
|
goto dflt; /* no; go to default */
|
|
|
|
if (m && ((res=match(ms, s+1, ep+1)) != NULL))
|
|
|
|
s = (s == ms->src_end) ? s : NULL; /* check end of string */
|
|
|
|
return res;
|
|
|
|
break;
|
|
|
|
p=ep+1; goto init; /* else return match(ms, s, ep+1); */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case L_ESC: { /* escaped sequences not in the format class[*+?-]? */
|
|
|
|
case '*': { /* 0 or more repetitions */
|
|
|
|
switch (*(p + 1)) {
|
|
|
|
return max_expand(ms, s, p, ep);
|
|
|
|
case 'b': { /* balanced string? */
|
|
|
|
}
|
|
|
|
s = matchbalance(ms, s, p + 2);
|
|
|
|
case '+': { /* 1 or more repetitions */
|
|
|
|
if (s != NULL) {
|
|
|
|
return (m ? max_expand(ms, s+1, p, ep) : NULL);
|
|
|
|
p += 4; goto init; /* return match(ms, s, p + 4); */
|
|
|
|
|
|
|
|
} /* else fail (s == NULL) */
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case 'f': { /* frontier? */
|
|
|
|
|
|
|
|
const char *ep; char previous;
|
|
|
|
|
|
|
|
p += 2;
|
|
|
|
|
|
|
|
if (*p != '[')
|
|
|
|
|
|
|
|
luaL_error(ms->L, "missing " LUA_QL("[") " after "
|
|
|
|
|
|
|
|
LUA_QL("%%f") " in pattern");
|
|
|
|
|
|
|
|
ep = classend(ms, p); /* points to what is next */
|
|
|
|
|
|
|
|
previous = (s == ms->src_init) ? '\0' : *(s - 1);
|
|
|
|
|
|
|
|
if (!matchbracketclass(uchar(previous), p, ep - 1) &&
|
|
|
|
|
|
|
|
matchbracketclass(uchar(*s), p, ep - 1)) {
|
|
|
|
|
|
|
|
p = ep; goto init; /* return match(ms, s, ep); */
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
s = NULL; /* match failed */
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case '0': case '1': case '2': case '3':
|
|
|
|
|
|
|
|
case '4': case '5': case '6': case '7':
|
|
|
|
|
|
|
|
case '8': case '9': { /* capture results (%0-%9)? */
|
|
|
|
|
|
|
|
s = match_capture(ms, s, uchar(*(p + 1)));
|
|
|
|
|
|
|
|
if (s != NULL) {
|
|
|
|
|
|
|
|
p += 2; goto init; /* return match(ms, s, p + 2) */
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
default: goto dflt;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case '-': { /* 0 or more repetitions (minimum) */
|
|
|
|
break;
|
|
|
|
return min_expand(ms, s, p, ep);
|
|
|
|
}
|
|
|
|
|
|
|
|
default: dflt: { /* pattern class plus optional suffix */
|
|
|
|
|
|
|
|
const char *ep = classend(ms, p); /* points to optional suffix */
|
|
|
|
|
|
|
|
/* does not match at least once? */
|
|
|
|
|
|
|
|
if (!singlematch(ms, s, p, ep)) {
|
|
|
|
|
|
|
|
if (*ep == '*' || *ep == '?' || *ep == '-') { /* accept empty? */
|
|
|
|
|
|
|
|
p = ep + 1; goto init; /* return match(ms, s, ep + 1); */
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else /* '+' or no suffix */
|
|
|
|
|
|
|
|
s = NULL; /* fail */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
default: {
|
|
|
|
else { /* matched once */
|
|
|
|
if (!m) return NULL;
|
|
|
|
switch (*ep) { /* handle optional suffix */
|
|
|
|
s++; p=ep; goto init; /* else return match(ms, s+1, ep); */
|
|
|
|
case '?': { /* optional */
|
|
|
|
|
|
|
|
const char *res;
|
|
|
|
|
|
|
|
if ((res = match(ms, s + 1, ep + 1)) != NULL)
|
|
|
|
|
|
|
|
s = res;
|
|
|
|
|
|
|
|
else {
|
|
|
|
|
|
|
|
p = ep + 1; goto init; /* else return match(ms, s, ep + 1); */
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case '+': /* 1 or more repetitions */
|
|
|
|
|
|
|
|
s++; /* 1 match already done */
|
|
|
|
|
|
|
|
/* go through */
|
|
|
|
|
|
|
|
case '*': /* 0 or more repetitions */
|
|
|
|
|
|
|
|
s = max_expand(ms, s, p, ep);
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
case '-': /* 0 or more repetitions (minimum) */
|
|
|
|
|
|
|
|
s = min_expand(ms, s, p, ep);
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
default: /* no suffix */
|
|
|
|
|
|
|
|
s++; p = ep; goto init; /* return match(ms, s + 1, ep); */
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ms->matchdepth++;
|
|
|
|
|
|
|
|
return s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -561,12 +602,14 @@ static int str_find_aux (lua_State *L, int find) {
|
|
|
|
p++; lp--; /* skip anchor character */
|
|
|
|
p++; lp--; /* skip anchor character */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ms.L = L;
|
|
|
|
ms.L = L;
|
|
|
|
|
|
|
|
ms.matchdepth = MAXCCALLS;
|
|
|
|
ms.src_init = s;
|
|
|
|
ms.src_init = s;
|
|
|
|
ms.src_end = s + ls;
|
|
|
|
ms.src_end = s + ls;
|
|
|
|
ms.p_end = p + lp;
|
|
|
|
ms.p_end = p + lp;
|
|
|
|
do {
|
|
|
|
do {
|
|
|
|
const char *res;
|
|
|
|
const char *res;
|
|
|
|
ms.level = 0;
|
|
|
|
ms.level = 0;
|
|
|
|
|
|
|
|
lua_assert(ms.matchdepth == MAXCCALLS);
|
|
|
|
if ((res=match(&ms, s1, p)) != NULL) {
|
|
|
|
if ((res=match(&ms, s1, p)) != NULL) {
|
|
|
|
if (find) {
|
|
|
|
if (find) {
|
|
|
|
lua_pushinteger(L, s1 - s + 1); /* start */
|
|
|
|
lua_pushinteger(L, s1 - s + 1); /* start */
|
|
|
@ -600,6 +643,7 @@ static int gmatch_aux (lua_State *L) {
|
|
|
|
const char *p = lua_tolstring(L, lua_upvalueindex(2), &lp);
|
|
|
|
const char *p = lua_tolstring(L, lua_upvalueindex(2), &lp);
|
|
|
|
const char *src;
|
|
|
|
const char *src;
|
|
|
|
ms.L = L;
|
|
|
|
ms.L = L;
|
|
|
|
|
|
|
|
ms.matchdepth = MAXCCALLS;
|
|
|
|
ms.src_init = s;
|
|
|
|
ms.src_init = s;
|
|
|
|
ms.src_end = s+ls;
|
|
|
|
ms.src_end = s+ls;
|
|
|
|
ms.p_end = p + lp;
|
|
|
|
ms.p_end = p + lp;
|
|
|
@ -608,6 +652,7 @@ static int gmatch_aux (lua_State *L) {
|
|
|
|
src++) {
|
|
|
|
src++) {
|
|
|
|
const char *e;
|
|
|
|
const char *e;
|
|
|
|
ms.level = 0;
|
|
|
|
ms.level = 0;
|
|
|
|
|
|
|
|
lua_assert(ms.matchdepth == MAXCCALLS);
|
|
|
|
if ((e = match(&ms, src, p)) != NULL) {
|
|
|
|
if ((e = match(&ms, src, p)) != NULL) {
|
|
|
|
lua_Integer newstart = e-s;
|
|
|
|
lua_Integer newstart = e-s;
|
|
|
|
if (e == src) newstart++; /* empty match? go at least one position */
|
|
|
|
if (e == src) newstart++; /* empty match? go at least one position */
|
|
|
@ -705,12 +750,14 @@ static int str_gsub (lua_State *L) {
|
|
|
|
p++; lp--; /* skip anchor character */
|
|
|
|
p++; lp--; /* skip anchor character */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ms.L = L;
|
|
|
|
ms.L = L;
|
|
|
|
|
|
|
|
ms.matchdepth = MAXCCALLS;
|
|
|
|
ms.src_init = src;
|
|
|
|
ms.src_init = src;
|
|
|
|
ms.src_end = src+srcl;
|
|
|
|
ms.src_end = src+srcl;
|
|
|
|
ms.p_end = p + lp;
|
|
|
|
ms.p_end = p + lp;
|
|
|
|
while (n < max_s) {
|
|
|
|
while (n < max_s) {
|
|
|
|
const char *e;
|
|
|
|
const char *e;
|
|
|
|
ms.level = 0;
|
|
|
|
ms.level = 0;
|
|
|
|
|
|
|
|
lua_assert(ms.matchdepth == MAXCCALLS);
|
|
|
|
e = match(&ms, src, p);
|
|
|
|
e = match(&ms, src, p);
|
|
|
|
if (e) {
|
|
|
|
if (e) {
|
|
|
|
n++;
|
|
|
|
n++;
|
|
|
@ -867,7 +914,7 @@ static int str_format (lua_State *L) {
|
|
|
|
nb = sprintf(buff, form, luaL_checkint(L, arg));
|
|
|
|
nb = sprintf(buff, form, luaL_checkint(L, arg));
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 'd': case 'i': {
|
|
|
|
case 'd': case 'i': {
|
|
|
|
lua_Number n = luaL_checknumber(L, arg);
|
|
|
|
lua_Number n = luaL_checknumber(L, arg);
|
|
|
|
LUA_INTFRM_T ni = (LUA_INTFRM_T)n;
|
|
|
|
LUA_INTFRM_T ni = (LUA_INTFRM_T)n;
|
|
|
|
lua_Number diff = n - (lua_Number)ni;
|
|
|
|
lua_Number diff = n - (lua_Number)ni;
|
|
|
@ -877,7 +924,7 @@ static int str_format (lua_State *L) {
|
|
|
|
nb = sprintf(buff, form, ni);
|
|
|
|
nb = sprintf(buff, form, ni);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 'o': case 'u': case 'x': case 'X': {
|
|
|
|
case 'o': case 'u': case 'x': case 'X': {
|
|
|
|
lua_Number n = luaL_checknumber(L, arg);
|
|
|
|
lua_Number n = luaL_checknumber(L, arg);
|
|
|
|
unsigned LUA_INTFRM_T ni = (unsigned LUA_INTFRM_T)n;
|
|
|
|
unsigned LUA_INTFRM_T ni = (unsigned LUA_INTFRM_T)n;
|
|
|
|
lua_Number diff = n - (lua_Number)ni;
|
|
|
|
lua_Number diff = n - (lua_Number)ni;
|
|
|
@ -887,7 +934,7 @@ static int str_format (lua_State *L) {
|
|
|
|
nb = sprintf(buff, form, ni);
|
|
|
|
nb = sprintf(buff, form, ni);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case 'e': case 'E': case 'f':
|
|
|
|
case 'e': case 'E': case 'f':
|
|
|
|
#if defined(LUA_USE_AFORMAT)
|
|
|
|
#if defined(LUA_USE_AFORMAT)
|
|
|
|
case 'a': case 'A':
|
|
|
|
case 'a': case 'A':
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|