Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Parser
Parser.RCS

Method Parser.RCS()->parse_delta_sections()


Method parse_delta_sections

array parse_delta_sections(array raw)

Description

Lower-level API function for parsing only the delta sections (the second chunk of an RCS file, see manpage rcsfile(5)) of an RCS file. After running parse_delta_sections , the RCS object will be initialized with the value of description and populated revisions mapping and trunk array. Their Revision members are however only populated with the members Revision->revision , Revision->branch , Revision->time , Revision->author , Revision->state , Revision->branches , Revision->rcs_next , Revision->ancestor and Revision->next .

Parameter raw

The tokenized RCS file, with admin section removed. (See parse_admin_section .)

Returns

The rest of the RCS file, delta sections removed.

See also

parse_admin_section , tokenize , parse_deltatext_sections , parse , create

FIXME

Does not handle rcsfile(5) newphrase skipping.