xref: /minix3/external/bsd/flex/dist/tests/test-lineno-r/test.input (revision 357f1050293be536ca8309aae20889945ce99fc1)
1*357f1050SThomas VeermanThese words
2*357f1050SThomas Veermanare separated
3*357f1050SThomas Veermanby newlines
4*357f1050SThomas Veermanand sometimes
5*357f1050SThomas Veerman    spaces
6*357f1050SThomas Veermantoo.
7*357f1050SThomas VeermanThe next three lines are numbers with only intervening newlines
8*357f1050SThomas Veerman01123
9*357f1050SThomas Veerman581321
10*357f1050SThomas Veerman34
11*357f1050SThomas VeermanAnd now for some blank lines....
12*357f1050SThomas Veerman
13*357f1050SThomas Veerman
14*357f1050SThomas VeermanFinally, we directly modify yylineno, but then change it back afterwards
15*357f1050SThomas Veerman(see scanner.l):
16*357f1050SThomas Veerman
17*357f1050SThomas Veermanyylineno++
18*357f1050SThomas Veerman
19*357f1050SThomas Veermanyylineno--
20