PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ wkt_yyerror()

void wkt_yyerror ( const char *  str)

Definition at line 104 of file lwin_wkt_parse.c.

References struct_lwgeom_parser_result::errcode, struct_lwgeom_parser_result::errlocation, YYLTYPE::last_column, LWDEBUGF, struct_lwgeom_parser_result::message, parser_error_messages, PARSER_ERROR_OTHER, and wkt_yylloc.

105 {
106  /* If we haven't already set a message and location, let's set one now. */
107  if ( ! global_parser_result.message )
108  {
112  }
113  LWDEBUGF(4,"%s", str);
114 }
int last_column
YYLTYPE wkt_yylloc
const char * parser_error_messages[]
Definition: lwin_wkt.c:23
LWGEOM_PARSER_RESULT global_parser_result
#define LWDEBUGF(level, msg,...)
Definition: lwgeom_log.h:55
#define PARSER_ERROR_OTHER
Definition: liblwgeom.h:1901