source:
trunk/flex/examples/manual/reject.lex@
3040
| Last change on this file since 3040 was 3031, checked in by , 19 years ago | |
|---|---|
| File size: 245 bytes | |
| Line | |
|---|---|
| 1 | /* |
| 2 | * reject.lex: An example of REJECT and unput() |
| 3 | * misuse. |
| 4 | */ |
| 5 | |
| 6 | %% |
| 7 | UNIX { |
| 8 | unput('U'); unput('N'); unput('G'); unput('\0'); |
| 9 | REJECT; |
| 10 | } |
| 11 | GNU printf("GNU is Not Unix!\n"); |
| 12 | %% |
Note:
See TracBrowser
for help on using the repository browser.
