aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-10 10:01:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-10 10:01:05 -0700
commita2bcafea435d1910332beee1b7a990c120d1f680 (patch)
tree5c81ef172217f5261aaf5d2082dbf2957f575699
parent114a3986053ae53b23dc4ebcbd15fc4387d278e0 (diff)
Removed ambiguity in definition of "line."
Closes #346.
-rw-r--r--spec.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec.txt b/spec.txt
index 39cd1c5..81ba573 100644
--- a/spec.txt
+++ b/spec.txt
@@ -210,7 +210,8 @@ of characters rather than bytes. A conforming parser may be limited
to a certain encoding.
A [line](@line) is a sequence of zero or more [character]s
-followed by a [line ending] or by the end of file.
+following a [line ending] (or the beginning of the file) and
+followed by a [line ending] (or the end of the file).
A [line ending](@line-ending) is a newline (`U+000A`), carriage return
(`U+000D`), or carriage return + newline.