PostGIS  2.2.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 1692 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().

1693 {
1694  if (!YY_CURRENT_BUFFER)
1695  return;
1696 
1698  YY_CURRENT_BUFFER_LVALUE = NULL;
1699  if ((yy_buffer_stack_top) > 0)
1700  --(yy_buffer_stack_top);
1701 
1702  if (YY_CURRENT_BUFFER) {
1705  }
1706 }
static int yy_did_buffer_switch_on_eof
Definition: lwin_wkt_lex.c:305
static void wkt_yy_load_buffer_state(void)
#define YY_CURRENT_BUFFER
Definition: lwin_wkt_lex.c:283
void wkt_yy_delete_buffer(YY_BUFFER_STATE b)
Destroy the buffer.
#define YY_CURRENT_BUFFER_LVALUE
Definition: lwin_wkt_lex.c:290
static size_t yy_buffer_stack_top
index of top of stack.
Definition: lwin_wkt_lex.c:273

Here is the call graph for this function:

Here is the caller graph for this function: