# HG changeset patch # User Stefan Monnier # Date 1130601941 0 # Node ID aaac09f838e03b3e2019def78b524dce7b077f63 # Parent 33e9ace34df4f4d2b729bc5f0041582a1a053438 (Fparse_partial_sexp): Fix docstring. diff -r 33e9ace34df4 -r aaac09f838e0 src/syntax.c --- a/src/syntax.c Sat Oct 29 16:01:37 2005 +0000 +++ b/src/syntax.c Sat Oct 29 16:05:41 2005 +0000 @@ -3020,7 +3020,7 @@ point is set to where parsing stops. If fifth arg OLDSTATE is omitted or nil, parsing assumes that FROM is the beginning of a function. -Value is a list of ten elements describing final state of parsing: +Value is a list of elements describing final state of parsing: 0. depth in parens. 1. character address of start of innermost containing list; nil if none. 2. character address of start of last complete sexp terminated. @@ -3039,7 +3039,7 @@ in parentheses becomes equal to TARGETDEPTH. Fourth arg STOPBEFORE non-nil means stop when come to any character that starts a sexp. -Fifth arg OLDSTATE is a nine-element list like what this function returns. +Fifth arg OLDSTATE is a list like what this function returns. It is used to initialize the state of the parse. Elements number 1, 2, 6 and 8 are ignored; you can leave off element 8 (the last) entirely. Sixth arg COMMENTSTOP non-nil means stop at the start of a comment.