29 ${printf("%s\n", fpc->name);}
30 %/{printf("accept\n");};
35 void fsm_init( struct fsm *fsm )
40 void fsm_execute( struct fsm *fsm, struct LangEl *_data, int _len )
42 struct LangEl *p = _data;
43 struct LangEl *pe = _data+_len;
44 struct LangEl *eof = pe;
49 int fsm_finish( struct fsm *fsm )
51 if ( fsm->cs == fsm_error )
53 if ( fsm->cs >= fsm_first_final )
60 static struct fsm fsm;
61 static struct LangEl lel[] = {
70 fsm_execute( &fsm, lel, 5 );
76 #ifdef _____OUTPUT_____