summaryrefslogtreecommitdiff
path: root/tests/lineno_r.one.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lineno_r.one.txt')
-rw-r--r--tests/lineno_r.one.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/lineno_r.one.txt b/tests/lineno_r.one.txt
new file mode 100644
index 0000000..c1eb961
--- /dev/null
+++ b/tests/lineno_r.one.txt
@@ -0,0 +1,19 @@
+These words
+are separated
+by newlines
+and sometimes
+ spaces
+too.
+The next three lines are numbers with only intervening newlines
+01123
+581321
+34
+And now for some blank lines....
+
+
+Finally, we directly modify yylineno, but then change it back afterwards
+(see scanner.l):
+
+yylineno++
+
+yylineno--