summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libparser.tex5
-rw-r--r--Doc/libparser.tex5
2 files changed, 6 insertions, 4 deletions
diff --git a/Doc/lib/libparser.tex b/Doc/lib/libparser.tex
index 859226a..5de9328 100644
--- a/Doc/lib/libparser.tex
+++ b/Doc/lib/libparser.tex
@@ -166,8 +166,9 @@ tuple representation and converting that to nested lists.
If \code{\var{line_info}} is true, line number information will be
included for all terminal tokens as a third element of the list
-representing the token. This information is omitted if the flag is
-false or omitted.
+representing the token. Note that the line number provided specifies
+the line on which the token \emph{ends\/}. This information is
+omitted if the flag is false or omitted.
\end{funcdesc}
\begin{funcdesc}{ast2tuple}{ast\optional{\, line_info\code{ = 0}}}
diff --git a/Doc/libparser.tex b/Doc/libparser.tex
index 859226a..5de9328 100644
--- a/Doc/libparser.tex
+++ b/Doc/libparser.tex
@@ -166,8 +166,9 @@ tuple representation and converting that to nested lists.
If \code{\var{line_info}} is true, line number information will be
included for all terminal tokens as a third element of the list
-representing the token. This information is omitted if the flag is
-false or omitted.
+representing the token. Note that the line number provided specifies
+the line on which the token \emph{ends\/}. This information is
+omitted if the flag is false or omitted.
\end{funcdesc}
\begin{funcdesc}{ast2tuple}{ast\optional{\, line_info\code{ = 0}}}