mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +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"
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
|
@ -50,7 +50,7 @@ static int scan(Scanner *s)
|
|||
#line 55 "ext/pdo/pdo_sql_parser.re"
|
||||
|
||||
|
||||
|
||||
|
||||
#line 55 "ext/pdo/pdo_sql_parser.c"
|
||||
{
|
||||
YYCTYPE yych;
|
||||
|
@ -111,7 +111,7 @@ yy8:
|
|||
if (yych <= 0x00) goto yy7;
|
||||
goto yy21;
|
||||
yy9:
|
||||
yych = *++YYCURSOR;
|
||||
++YYCURSOR;
|
||||
goto yy7;
|
||||
yy10:
|
||||
yych = *++YYCURSOR;
|
||||
|
@ -120,7 +120,7 @@ yy10:
|
|||
default: goto yy7;
|
||||
}
|
||||
yy11:
|
||||
yych = *(YYMARKER = ++YYCURSOR);
|
||||
yych = *++YYCURSOR;
|
||||
switch (yych) {
|
||||
case '*': goto yy28;
|
||||
default: goto yy7;
|
||||
|
@ -195,8 +195,8 @@ yy12:
|
|||
default: goto yy7;
|
||||
}
|
||||
yy13:
|
||||
++YYCURSOR;
|
||||
switch ((yych = *YYCURSOR)) {
|
||||
yych = *++YYCURSOR;
|
||||
switch (yych) {
|
||||
case '?': goto yy36;
|
||||
default: goto yy14;
|
||||
}
|
||||
|
@ -374,7 +374,6 @@ yy38:
|
|||
}
|
||||
yy40:
|
||||
++YYCURSOR;
|
||||
yych = *YYCURSOR;
|
||||
goto yy27;
|
||||
}
|
||||
#line 66 "ext/pdo/pdo_sql_parser.re"
|
||||
|
@ -384,10 +383,10 @@ yy40:
|
|||
struct placeholder {
|
||||
char *pos;
|
||||
size_t len;
|
||||
int bindno;
|
||||
size_t qlen; /* quoted length of value */
|
||||
char *quoted; /* quoted value */
|
||||
int freeq;
|
||||
int bindno;
|
||||
struct placeholder *next;
|
||||
};
|
||||
|
||||
|
|
|
@ -69,10 +69,10 @@ static int scan(Scanner *s)
|
|||
struct placeholder {
|
||||
char *pos;
|
||||
size_t len;
|
||||
int bindno;
|
||||
size_t qlen; /* quoted length of value */
|
||||
char *quoted; /* quoted value */
|
||||
int freeq;
|
||||
int bindno;
|
||||
struct placeholder *next;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue