PostGIS  2.1.10dev-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 1689 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().

1690 {
1691  if (!YY_CURRENT_BUFFER)
1692  return;
1693 
1695  YY_CURRENT_BUFFER_LVALUE = NULL;
1696  if ((yy_buffer_stack_top) > 0)
1697  --(yy_buffer_stack_top);
1698 
1699  if (YY_CURRENT_BUFFER) {
1702  }
1703 }
static int yy_did_buffer_switch_on_eof
Definition: lwin_wkt_lex.c:304
static void wkt_yy_load_buffer_state(void)
#define YY_CURRENT_BUFFER
Definition: lwin_wkt_lex.c:282
void wkt_yy_delete_buffer(YY_BUFFER_STATE b)
Destroy the buffer.
#define YY_CURRENT_BUFFER_LVALUE
Definition: lwin_wkt_lex.c:289
static size_t yy_buffer_stack_top
index of top of stack.
Definition: lwin_wkt_lex.c:272

Here is the call graph for this function:

Here is the caller graph for this function: