diff options
Diffstat (limited to 'examples/manual/reject.lex')
-rw-r--r-- | examples/manual/reject.lex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/manual/reject.lex b/examples/manual/reject.lex index a7b817f..9e0bbd8 100644 --- a/examples/manual/reject.lex +++ b/examples/manual/reject.lex @@ -1,12 +1,12 @@ /* - * reject.lex: An example of REJECT and unput() + * reject.lex: An example of yyreject() and yyunput() * misuse. */ %% UNIX { - unput('U'); unput('N'); unput('G'); unput('\0'); - REJECT; + yyunput('U'); yyunput('N'); yyunput('G'); yyunput('\0'); + yyreject(); } GNU printf("GNU is Not Unix!\n"); %% |