- if (unlikely(p - estack_bx(stack, top)->u.s.str > estack_bx(stack, top)->u.s.seq_len || *p == '\0')) {
- if (q - estack_ax(stack, top)->u.s.str > estack_ax(stack, top)->u.s.seq_len || *q == '\0') {
+ if (unlikely(p - estack_bx(stack, top)->u.s.str >= estack_bx(stack, top)->u.s.seq_len || *p == '\0')) {
+ if (q - estack_ax(stack, top)->u.s.str >= estack_ax(stack, top)->u.s.seq_len || *q == '\0') {
- if (unlikely(q - estack_ax(stack, top)->u.s.str > estack_ax(stack, top)->u.s.seq_len || *q == '\0')) {
- if (p - estack_bx(stack, top)->u.s.str > estack_bx(stack, top)->u.s.seq_len || *p == '\0') {
- return 0;
- } else {
- if (estack_bx(stack, top)->u.s.literal) {
- ret = parse_char(&p);
- if (ret == -1)
- return 0;
- }
- return 1;
+ if (unlikely(q - estack_ax(stack, top)->u.s.str >= estack_ax(stack, top)->u.s.seq_len || *q == '\0')) {
+ if (estack_bx(stack, top)->u.s.literal) {
+ ret = parse_char(&p);
+ if (ret == -1)
+ return 0;
ctx_field->get_value(ctx_field, &v);
estack_push(stack, top, ax, bx);
estack_ax(stack, top)->u.s.str = v.str;
ctx_field->get_value(ctx_field, &v);
estack_push(stack, top, ax, bx);
estack_ax(stack, top)->u.s.str = v.str;
ctx_field->get_value(ctx_field, &v);
estack_push(stack, top, ax, bx);
estack_ax_v = v.s64;
ctx_field->get_value(ctx_field, &v);
estack_push(stack, top, ax, bx);
estack_ax_v = v.s64;
ctx_field->get_value(ctx_field, &v);
estack_push(stack, top, ax, bx);
memcpy(&estack_ax(stack, top)->u.d, &v.d, sizeof(struct literal_double));
ctx_field->get_value(ctx_field, &v);
estack_push(stack, top, ax, bx);
memcpy(&estack_ax(stack, top)->u.d, &v.d, sizeof(struct literal_double));