source:
trunk/flex/tests/test-lineno-nr/test.input@
3040
| Last change on this file since 3040 was 3031, checked in by , 19 years ago | |
|---|---|
| File size: 299 bytes | |
| Line | |
|---|---|
| 1 | These words |
| 2 | are separated |
| 3 | by newlines |
| 4 | and sometimes |
| 5 | spaces |
| 6 | too. |
| 7 | The next three lines are numbers with only intervening newlines |
| 8 | 01123 |
| 9 | 581321 |
| 10 | 34 |
| 11 | And now for some blank lines.... |
| 12 | |
| 13 | |
| 14 | Finally, we directly modify yylineno, but then change it back afterwards |
| 15 | (see scanner.l): |
| 16 | |
| 17 | yylineno++ |
| 18 | |
| 19 | yylineno-- |
Note:
See TracBrowser
for help on using the repository browser.
