-/* Generated by re2c 1.0.2 */
+/* Generated by re2c 1.0.3 */
#line 1 "ext/pdo/pdo_sql_parser.re"
/*
+----------------------------------------------------------------------+
{
Scanner s;
char *ptr, *newbuffer;
- int t;
+ ptrdiff_t t;
uint32_t bindno = 0;
int ret = 0;
size_t newbuffer_len;
while((t = scan(&s)) != PDO_PARSER_EOI) {
if (t == PDO_PARSER_BIND || t == PDO_PARSER_BIND_POS) {
if (t == PDO_PARSER_BIND) {
- int len = s.cur - s.tok;
+ ptrdiff_t len = s.cur - s.tok;
if ((inquery < (s.cur - len)) && isalnum(*(s.cur - len - 1))) {
continue;
}
{
Scanner s;
char *ptr, *newbuffer;
- int t;
+ ptrdiff_t t;
uint32_t bindno = 0;
int ret = 0;
size_t newbuffer_len;
while((t = scan(&s)) != PDO_PARSER_EOI) {
if (t == PDO_PARSER_BIND || t == PDO_PARSER_BIND_POS) {
if (t == PDO_PARSER_BIND) {
- int len = s.cur - s.tok;
+ ptrdiff_t len = s.cur - s.tok;
if ((inquery < (s.cur - len)) && isalnum(*(s.cur - len - 1))) {
continue;
}