iOS/sqlcipher/fts5parse.c
static void yy_syntax_error(
  yyParser *yypParser,           /* The parser */
  int yymajor,                   /* The major type of the error token */
  sqlite3Fts5ParserTOKENTYPE yyminor         /* The minor type of the error token */
){
  sqlite3Fts5ParserARG_FETCH;
#define TOKEN yyminor
/************ Begin %syntax_error code ****************************************/
#line 30 "fts5parse.y"

  UNUSED_PARAM(yymajor); /* Silence a compiler warning */
  sqlite3Fts5ParseError(
    pParse, "fts5: syntax error near \"%.*s\"",TOKEN.n,TOKEN.p
  );
#line 1165 "fts5parse.c"
/************ End %syntax_error code ******************************************/
  sqlite3Fts5ParserARG_STORE; /* Suppress warning about unused %extra_argument variable */
}
/*
** The following code executes when a syntax error first occurs.
*/
The following code executes when a syntax error first occurs.
The following code executes when a syntax error first occurs .
static void yy_syntax_error(
  yyParser *yypParser,           
  int yymajor,                   
  sqlite3Fts5ParserTOKENTYPE yyminor         
){
  sqlite3Fts5ParserARG_FETCH;
#define TOKEN yyminor
#line 30 "fts5parse.y"
  UNUSED_PARAM(yymajor); 
  sqlite3Fts5ParseError(
    pParse, "fts5: syntax error near \"%.*s\"",TOKEN.n,TOKEN.p
  );
#line 1165 "fts5parse.c"
  sqlite3Fts5ParserARG_STORE; 
}
static void yy_syntax_error ( yyParser * yypParser , int yymajor , sqlite3Fts5ParserTOKENTYPE yyminor ) { sqlite3Fts5ParserARG_FETCH ; #define TOKEN  yyminor #line  30 "fts5parse.y" UNUSED_PARAM ( yymajor ) ; sqlite3Fts5ParseError ( pParse , " \" \" " , TOKEN . n , TOKEN . p ) ; #line  1165 "fts5parse.c" sqlite3Fts5ParserARG_STORE ; }
The following code executes when a syntax error first occurs.
The following code executes when a syntax error first occurs .
/* The parser */ /* The major type of the error token */ /* The minor type of the error token */ /************ Begin %syntax_error code ****************************************/ /* Silence a compiler warning */ /************ End %syntax_error code ******************************************/ /* Suppress warning about unused %extra_argument variable */