delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/15/01:00:36

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Flex- small problem
Date: Sun, 14 Jun 1998 21:33:56 -0700
Organization: Alcyone Systems
Lines: 20
Message-ID: <3584A433.47F8891D@alcyone.com>
References: <35842d90 DOT 8605608 AT babyblue DOT cs DOT yale DOT edu>
NNTP-Posting-Host: kamali.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Mapson wrote:

> I merely erase the two references to yywrap(), and so far the programs
> I've made have worked nicely. I could write a sed file, I suppose, to
> take care of this... but I'd rather just know why I am seeing this.

From the relevant info page:

    If you do not supply your own version of `yywrap()', then you must
    either use `%option noyywrap' (in which case the scanner behaves as
    though `yywrap()' returned 1), or you must link with `-lfl' to
    obtain the default version of the routine, which always returns 1.

-- 
         Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
                       Alcyone Systems / http://www.alcyone.com/max/
  San Jose, California, United States / icbm:+37.20.07/-121.53.38
                                     \
           She glanced at her watch / . . . It was 9:23.
                                   / James Clavell

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019