Commit 7cc80f0a authored by Richard M. Stallman's avatar Richard M. Stallman

Comment change.

parent 1fb04659
...@@ -341,9 +341,15 @@ dec_bytepos (bytepos) ...@@ -341,9 +341,15 @@ dec_bytepos (bytepos)
return bytepos; return bytepos;
} }
/* Find a defun-start that is the last one before POS (or nearly the last). /* Return a defun-start position before before POS and not too far before.
We record what we find, so that another call in the same area It should be the last one before POS, or nearly the last.
can return the same value right away.
When open_paren_in_column_0_is_defun_start is nonzero,
the beginning of every line is treated as a defun-start.
We record the information about where the scan started
and what its result was, so that another call in the same area
can return the same value very quickly.
There is no promise at which position the global syntax data is There is no promise at which position the global syntax data is
valid on return from the subroutine, so the caller should explicitly valid on return from the subroutine, so the caller should explicitly
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment