home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!sdd.hp.com!uakari.primate.wisc.edu!ames!sun-barr!sh.wide!wnoc-tyo-news!sranha!sranhc!sramha!s-fujii
- From: s-fujii@sra.co.jp (Seigo Fujii)
- Newsgroups: comp.editors
- Subject: Re: Solutions to using CTAGS in VI..
- Keywords: recursive call, pop, stack, vifs
- Message-ID: <Bt9D2F.C2r@sra.co.jp>
- Date: 20 Aug 92 01:20:38 GMT
- References: <1992Aug19.223146.12348@bnr.ca>
- Sender: news@sra.co.jp (USENET News)
- Reply-To: s-fujii@ext46.sra.co.jp (Seigo Fujii)
- Organization: Software Research Associates, Inc., Japan
- Lines: 19
-
- In article <1992Aug19.223146.12348@bnr.ca> mschee@bcarh600.bnr.ca (Michael SamChee) writes:
- >sub makepopex {
- > open(POPEX, ">$POPEXFILE") || die "can not open $POPEXFILE\n";
- > if ($file && $line) {
- > print POPEX "e +$line $file\n$line\n";
- > } else {
- > print STDERR "edit-file stack empty\n";
- > print POPEX qq/" edit-file stack empty\n/;
- > }
- > close(POPEX);
- >}
-
- The 4th line of subroutine makepopex is not correct.
- print POPEX "e +$line $file\n$line\n";
- Last "$line\n" is unnecessary.
- print POPEX "e +$line $file\n";
- is correct.
- --
- Seigo
-