mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Reduce struct size by 8 bytes on 64-bit
This commit is contained in:
parent
a6b2223220
commit
65be13a89a
2 changed files with 8 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* Generated by re2c 0.16 */
|
/* Generated by re2c 1.0.2 */
|
||||||
#line 1 "ext/pdo/pdo_sql_parser.re"
|
#line 1 "ext/pdo/pdo_sql_parser.re"
|
||||||
/*
|
/*
|
||||||
+----------------------------------------------------------------------+
|
+----------------------------------------------------------------------+
|
||||||
|
@ -50,7 +50,7 @@ static int scan(Scanner *s)
|
||||||
#line 55 "ext/pdo/pdo_sql_parser.re"
|
#line 55 "ext/pdo/pdo_sql_parser.re"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#line 55 "ext/pdo/pdo_sql_parser.c"
|
#line 55 "ext/pdo/pdo_sql_parser.c"
|
||||||
{
|
{
|
||||||
YYCTYPE yych;
|
YYCTYPE yych;
|
||||||
|
@ -111,7 +111,7 @@ yy8:
|
||||||
if (yych <= 0x00) goto yy7;
|
if (yych <= 0x00) goto yy7;
|
||||||
goto yy21;
|
goto yy21;
|
||||||
yy9:
|
yy9:
|
||||||
yych = *++YYCURSOR;
|
++YYCURSOR;
|
||||||
goto yy7;
|
goto yy7;
|
||||||
yy10:
|
yy10:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
|
@ -120,7 +120,7 @@ yy10:
|
||||||
default: goto yy7;
|
default: goto yy7;
|
||||||
}
|
}
|
||||||
yy11:
|
yy11:
|
||||||
yych = *(YYMARKER = ++YYCURSOR);
|
yych = *++YYCURSOR;
|
||||||
switch (yych) {
|
switch (yych) {
|
||||||
case '*': goto yy28;
|
case '*': goto yy28;
|
||||||
default: goto yy7;
|
default: goto yy7;
|
||||||
|
@ -195,8 +195,8 @@ yy12:
|
||||||
default: goto yy7;
|
default: goto yy7;
|
||||||
}
|
}
|
||||||
yy13:
|
yy13:
|
||||||
++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
switch ((yych = *YYCURSOR)) {
|
switch (yych) {
|
||||||
case '?': goto yy36;
|
case '?': goto yy36;
|
||||||
default: goto yy14;
|
default: goto yy14;
|
||||||
}
|
}
|
||||||
|
@ -374,7 +374,6 @@ yy38:
|
||||||
}
|
}
|
||||||
yy40:
|
yy40:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
yych = *YYCURSOR;
|
|
||||||
goto yy27;
|
goto yy27;
|
||||||
}
|
}
|
||||||
#line 66 "ext/pdo/pdo_sql_parser.re"
|
#line 66 "ext/pdo/pdo_sql_parser.re"
|
||||||
|
@ -384,10 +383,10 @@ yy40:
|
||||||
struct placeholder {
|
struct placeholder {
|
||||||
char *pos;
|
char *pos;
|
||||||
size_t len;
|
size_t len;
|
||||||
int bindno;
|
|
||||||
size_t qlen; /* quoted length of value */
|
size_t qlen; /* quoted length of value */
|
||||||
char *quoted; /* quoted value */
|
char *quoted; /* quoted value */
|
||||||
int freeq;
|
int freeq;
|
||||||
|
int bindno;
|
||||||
struct placeholder *next;
|
struct placeholder *next;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -69,10 +69,10 @@ static int scan(Scanner *s)
|
||||||
struct placeholder {
|
struct placeholder {
|
||||||
char *pos;
|
char *pos;
|
||||||
size_t len;
|
size_t len;
|
||||||
int bindno;
|
|
||||||
size_t qlen; /* quoted length of value */
|
size_t qlen; /* quoted length of value */
|
||||||
char *quoted; /* quoted value */
|
char *quoted; /* quoted value */
|
||||||
int freeq;
|
int freeq;
|
||||||
|
int bindno;
|
||||||
struct placeholder *next;
|
struct placeholder *next;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue