PostGIS  2.3.7dev-r@@SVN_REVISION@@
void wkt_yypop_buffer_state ( void  )

Removes and deletes the top of the stack, if present.

The next element becomes the new top.

Definition at line 1717 of file lwin_wkt_lex.c.

References wkt_yy_delete_buffer(), wkt_yy_load_buffer_state(), yy_buffer_stack_top, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, and yy_did_buffer_switch_on_eof.

Referenced by wkt_yylex_destroy().

1718 {
1719  if (!YY_CURRENT_BUFFER)
1720  return;
1721 
1723  YY_CURRENT_BUFFER_LVALUE = NULL;
1724  if ((yy_buffer_stack_top) > 0)
1725  --(yy_buffer_stack_top);
1726 
1727  if (YY_CURRENT_BUFFER) {
1730  }
1731 }
static int yy_did_buffer_switch_on_eof
Definition: lwin_wkt_lex.c:330
static void wkt_yy_load_buffer_state(void)
#define YY_CURRENT_BUFFER
Definition: lwin_wkt_lex.c:308
void wkt_yy_delete_buffer(YY_BUFFER_STATE b)
Destroy the buffer.
#define YY_CURRENT_BUFFER_LVALUE
Definition: lwin_wkt_lex.c:315
static size_t yy_buffer_stack_top
index of top of stack.
Definition: lwin_wkt_lex.c:298

Here is the call graph for this function:

Here is the caller graph for this function: