and touch the generated file

This commit is contained in:
Wez Furlong 2005-09-10 20:58:57 +00:00
parent e9c81e4983
commit 5f47b4178e

View File

@ -1,5 +1,5 @@
/* Generated by re2c 0.9.9 on Sun Sep 4 02:48:16 2005 */
#line 1 "pdo_sql_parser.re"
/* Generated by re2c 0.9.9.rc1 on Sat Sep 10 15:53:03 2005 */
#line 1 "ext/pdo/pdo_sql_parser.re"
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
@ -46,7 +46,7 @@ static int scan(Scanner *s)
char *cursor = s->cur;
s->tok = cursor;
#line 55 "pdo_sql_parser.re"
#line 55 "ext/pdo/pdo_sql_parser.re"
{
@ -85,7 +85,7 @@ static int scan(Scanner *s)
162, 162, 162, 162, 162, 162, 162, 162,
};
#line 89 "pdo_sql_parser.c"
#line 89 "<stdout>"
{
YYCTYPE yych;
unsigned int yyaccept;
@ -111,9 +111,9 @@ yy2: yyaccept = 0;
if(yych == '"') goto yy28;
goto yy33;
yy3:
#line 63 "pdo_sql_parser.re"
#line 63 "ext/pdo/pdo_sql_parser.re"
{ RET(PDO_PARSER_TEXT); }
#line 117 "pdo_sql_parser.c"
#line 117 "<stdout>"
yy4: yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
if(yybm[0+yych] & 16) {
@ -148,9 +148,9 @@ yy6: ++YYCURSOR;
}
goto yy7;
yy7:
#line 62 "pdo_sql_parser.re"
#line 62 "ext/pdo/pdo_sql_parser.re"
{ RET(PDO_PARSER_BIND_POS); }
#line 154 "pdo_sql_parser.c"
#line 154 "<stdout>"
yy8: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
@ -160,15 +160,15 @@ yy9: if(yybm[0+yych] & 2) {
}
goto yy10;
yy10:
#line 64 "pdo_sql_parser.re"
#line 64 "ext/pdo/pdo_sql_parser.re"
{ RET(PDO_PARSER_TEXT); }
#line 166 "pdo_sql_parser.c"
#line 166 "<stdout>"
yy11: ++YYCURSOR;
goto yy12;
yy12:
#line 65 "pdo_sql_parser.re"
#line 65 "ext/pdo/pdo_sql_parser.re"
{ RET(PDO_PARSER_EOI); }
#line 172 "pdo_sql_parser.c"
#line 172 "<stdout>"
yy13: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
@ -178,9 +178,9 @@ yy14: if(yybm[0+yych] & 4) {
}
goto yy15;
yy15:
#line 60 "pdo_sql_parser.re"
#line 60 "ext/pdo/pdo_sql_parser.re"
{ RET(PDO_PARSER_TEXT); }
#line 184 "pdo_sql_parser.c"
#line 184 "<stdout>"
yy16: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
@ -190,9 +190,9 @@ yy17: if(yybm[0+yych] & 8) {
}
goto yy18;
yy18:
#line 61 "pdo_sql_parser.re"
#line 61 "ext/pdo/pdo_sql_parser.re"
{ RET(PDO_PARSER_BIND); }
#line 196 "pdo_sql_parser.c"
#line 196 "<stdout>"
yy19: yyaccept = 1;
YYMARKER = ++YYCURSOR;
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
@ -216,9 +216,9 @@ yy21: ++YYCURSOR;
}
goto yy22;
yy22:
#line 59 "pdo_sql_parser.re"
#line 59 "ext/pdo/pdo_sql_parser.re"
{ RET(PDO_PARSER_TEXT); }
#line 222 "pdo_sql_parser.c"
#line 222 "<stdout>"
yy23: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
@ -248,9 +248,9 @@ yy28: ++YYCURSOR;
}
goto yy29;
yy29:
#line 58 "pdo_sql_parser.re"
#line 58 "ext/pdo/pdo_sql_parser.re"
{ RET(PDO_PARSER_TEXT); }
#line 254 "pdo_sql_parser.c"
#line 254 "<stdout>"
yy30: yyaccept = 1;
YYMARKER = ++YYCURSOR;
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
@ -287,7 +287,7 @@ yy35: ++YYCURSOR;
goto yy29;
}
}
#line 66 "pdo_sql_parser.re"
#line 66 "ext/pdo/pdo_sql_parser.re"
}
@ -435,8 +435,6 @@ PDO_API int pdo_parse_params(pdo_stmt_t *stmt, char *inquery, int inquery_len,
plc->freeq = 0;
break;
case IS_BOOL:
convert_to_long(param->parameter);
case IS_LONG:
case IS_DOUBLE:
convert_to_string(param->parameter);
@ -445,6 +443,8 @@ PDO_API int pdo_parse_params(pdo_stmt_t *stmt, char *inquery, int inquery_len,
plc->freeq = 0;
break;
case IS_BOOL:
convert_to_long(param->parameter);
default:
convert_to_string(param->parameter);
if (!stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),