minix/external/bsd/flex/dist/examples/manual/reject.lex

13 lines
245 B
Text
Raw Normal View History

2012-06-06 16:10:32 +02:00
/*
* reject.lex: An example of REJECT and unput()
* misuse.
*/
%%
UNIX {
unput('U'); unput('N'); unput('G'); unput('\0');
REJECT;
}
GNU printf("GNU is Not Unix!\n");
%%