Extracted from Pike v7.4 release 35 at 2003-12-09.
pike.ida.liu.se
[Top]
predef::
Parser
Parser.RCS
Parser.RCS()->DeltatextIterator

Method Parser.RCS()->DeltatextIterator()->parse_deltatext_section()


Method parse_deltatext_section

string parse_deltatext_section(string raw)

Description

Chops off the first deltatext section from the string raw and returns the rest of the string, or the value 0 (zero) if we had already visited the final deltatext entry. The deltatext's data is stored destructively in the appropriate entry of the revisions array.

Note

raw must start with a deltatext entry for this method to work

FIXME

does not handle rcsfile(5) newphrase skipping

FIXME

if the rcs file is truncated, this method writes a descriptive error to stderr and then returns 0 - some nicer error handling wouldn't hurt