










Sig: Ejemplo
Sup: Expresiones Regulares en Flex
Ant: Estados
Err: Si hallas una errata ...
Mediante el uso de la opción
%option stack
tendremos acceso a una pila de estados y a tres rutinas para manipularla:
void yy_push_state(int new_state)
Empuja el estado actual y bifurca a new_state
.
void yy_pop_state()
Saca el estado en el top de la pila y bifurca a el mismo.
int yy_top_state()
Nos devuelve el estado en el top de la pila, sin alterar
los contenidos de la misma.
Subsecciones











Sig: Ejemplo
Sup: Expresiones Regulares en Flex
Ant: Estados
Err: Si hallas una errata ...
Casiano Rodríguez León
2012-05-22