Hilfe fails on foreach(iterator; index; value)
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3143
Reported by Johan H Sundström, IDA jhs@pike.ida.liu.se
An example of how to trig the bug:
a205% pike
Pike v7.3 release 45 running Hilfe v3.4 (Incremental Pike Frontend)
> string fn="/path/to/rcs/file,v",raw=Stdio.read_file(fn);
> object p=Parser.RCS(fn, 0);
> sizeof(raw=p->parse_delta_sections(p->parse_admin_section(raw)));
(1) Result: 109399
> Parser.RCS.DeltatextIterator it = p->DeltatextIterator(raw);
> int n; Parser.RCS.Revision rev;
> foreach(it; n; rev) write("%d: %O\n", n, rev);
Compiler Error: 1:'rev' undefined.
>
The above should have written a list of all revisions of the file.