summaryrefslogtreecommitdiff
path: root/tests/lineno_r.one.txt
diff options
context:
space:
mode:
authorWill Estes <westes575@gmail.com>2014-07-01 20:56:44 -0400
committerWill Estes <westes575@gmail.com>2014-11-12 05:14:28 -0500
commitdd7eda5be09771a831a80215e0e44dd0c47823c2 (patch)
treeb91ee0767fb9ff1ced43a689215756c9d52d7dae /tests/lineno_r.one.txt
parent7442349daba3dc8f427f6f5c17f9651af930a2a8 (diff)
refactor lineno_r test for new test suite layout
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--