summaryrefslogtreecommitdiff
path: root/tests/lineno_nr.one.txt
diff options
context:
space:
mode:
authorWill Estes <westes575@gmail.com>2014-07-01 20:49:53 -0400
committerWill Estes <westes575@gmail.com>2014-11-12 05:14:28 -0500
commit7442349daba3dc8f427f6f5c17f9651af930a2a8 (patch)
treea66d91c938aead799031265b8adfc53d1c6aadd1 /tests/lineno_nr.one.txt
parent0c28dcc469e132744cf3ae153aa9fa5efff3e0d1 (diff)
refactor lineno_nr test for new test suite layout
Diffstat (limited to 'tests/lineno_nr.one.txt')
-rw-r--r--tests/lineno_nr.one.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/lineno_nr.one.txt b/tests/lineno_nr.one.txt
new file mode 100644
index 0000000..c1eb961
--- /dev/null
+++ b/tests/lineno_nr.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--