minix/external/bsd/flex/dist/examples/manual/reject.lex
2012-06-18 10:54:47 +00:00

12 lines
245 B
Text

/*
* 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");
%%