home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / editors / 2042 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1.1 KB

  1. 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
  2. From: s-fujii@sra.co.jp (Seigo Fujii)
  3. Newsgroups: comp.editors
  4. Subject: Re: Solutions to using CTAGS in VI..
  5. Keywords: recursive call, pop, stack, vifs
  6. Message-ID: <Bt9D2F.C2r@sra.co.jp>
  7. Date: 20 Aug 92 01:20:38 GMT
  8. References: <1992Aug19.223146.12348@bnr.ca>
  9. Sender: news@sra.co.jp (USENET News)
  10. Reply-To: s-fujii@ext46.sra.co.jp (Seigo Fujii)
  11. Organization: Software Research Associates, Inc., Japan
  12. Lines: 19
  13.  
  14. In article <1992Aug19.223146.12348@bnr.ca> mschee@bcarh600.bnr.ca (Michael SamChee) writes:
  15. >sub makepopex {
  16. >    open(POPEX, ">$POPEXFILE") || die "can not open $POPEXFILE\n";
  17. >    if ($file && $line) {
  18. >         print POPEX "e +$line $file\n$line\n";
  19. >    } else {
  20. >         print STDERR "edit-file stack empty\n";
  21. >         print POPEX qq/" edit-file stack empty\n/;
  22. >    }
  23. >    close(POPEX);
  24. >}
  25.  
  26. The 4th line of subroutine makepopex is not correct.
  27.     print POPEX "e +$line $file\n$line\n";
  28. Last "$line\n" is unnecessary.
  29.     print POPEX "e +$line $file\n";
  30. is correct.
  31. --
  32. Seigo
  33.