-
-/* Init
- Establishes yy states
-*/
-int scanner_init
-( void )
-{ if (apc_pstate != NULL || apc_cstate != NULL)
- scanner_quit();
- apc_pstate = yypstate_new();
- apc_cstate = yycstate_new();
- return (apc_pstate == NULL || apc_cstate == NULL);
-}
-
-/* Quit
- Free initialized memory
-*/
-void scanner_quit
-( void )
-{ yypstate_delete(apc_pstate);
- yycstate_delete(apc_cstate);
- apc_pstate = NULL;
- apc_cstate = NULL;
-}
-