Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: LEX Question Message-ID: <1989Feb15.200741.15963@utzoo.uucp> Organization: U of Toronto Zoology References: <32240@auc.UUCP> <9580001@hpcuhb.HP.COM> Date: Wed, 15 Feb 89 20:07:41 GMT In article <9580001@hpcuhb.HP.COM> najmi@hpcuhb.HP.COM (Farrukh Najmi) writes: >... one can make it read from a file (using file pointer) >by declaring the file pointer variable and then assigning >it to yyin... Be careful: this is not a documented feature, at least not in all versions of lex, and therefore should not be relied on too heavily in portable code. -- The Earth is our mother; | Henry Spencer at U of Toronto Zoology our nine months are up. | uunet!attcan!utzoo!henry henry@zoo.toronto.edu