static YY_BUFFER_STATE wkt_yy_buf_state;
-
-/*
-* Set up the lexer!
-*/
-void wkt_lexer_init(char *src)
-{
- wkt_yy_buf_state = wkt_yy_scan_string(src);
-}
-
-/*
-* Clean up the lexer!
-*/
-void wkt_lexer_close()
-{
- wkt_yy_delete_buffer(wkt_yy_buf_state);
-}
-
/*
* Handle errors due to unexpected junk in WKT strings.
*/
global_parser_result.errlocation = wkt_yylloc.last_column;
}
-
/*
* This macro is magically run after a rule is found but before the main
* action is run. We use it to update the parse location information
void wkt_yyfree (void * ptr )
{
lwfree( (char *) ptr ); /* see wkt_yyrealloc() for (char *) cast */
-}
\ No newline at end of file
+}
+
+/*
+* Set up the lexer!
+*/
+void wkt_lexer_init(char *src)
+{
+ wkt_yy_buf_state = wkt_yy_scan_string(src);
+}
+
+/*
+* Clean up the lexer!
+*/
+void wkt_lexer_close()
+{
+ wkt_yy_delete_buffer(wkt_yy_buf_state);
+}
+