From owner-freebsd-hackers Tue Sep 10 00:36:57 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA24816 for hackers-outgoing; Tue, 10 Sep 1996 00:36:57 -0700 (PDT) Received: from zwei.siemens.at (zwei.siemens.at [193.81.246.12]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA24806 for ; Tue, 10 Sep 1996 00:36:43 -0700 (PDT) Received: from sol1.gud.siemens.co.at (root@firix [10.1.143.100]) by zwei.siemens.at (8.7.4/8.7.3) with SMTP id JAA07672 for ; Tue, 10 Sep 1996 09:35:18 +0200 (MET DST) Received: from ws2301.gud.siemens.co.at by sol1.gud.siemens.co.at with smtp (Smail3.1.28.1 #7 for ) id m0v0NMR-00021oC; Tue, 10 Sep 96 09:35 MET DST Received: by ws2301.gud.siemens.co.at (1.37.109.16/1.37) id AA154740690; Tue, 10 Sep 1996 09:31:30 +0200 From: "Hr.Ladavac" Message-Id: <199609100731.AA154740690@ws2301.gud.siemens.co.at> Subject: Re: yylineno ? To: markd@Grizzly.COM (Mark Diekhans) Date: Tue, 10 Sep 1996 09:31:29 +0200 (MESZ) Cc: henrich@crh.cl.msu.edu, freebsd-hackers@FreeBSD.org In-Reply-To: <199609091856.LAA01130@osprey.grizzly.com> from "Mark Diekhans" at Sep 9, 96 11:56:30 am X-Mailer: ELM [version 2.4 PL24 ME8a] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk E-mail message from Mark Diekhans contained: > > >Im mucking with older software to try and get it running, and its using > >yylineno in lex, however flex doesnt support this variable(?). Anyone have any > >ideas on what to replace it with? > > adding > > %option yylineno > > will enable yylineno compatiblity (at least in version 2.5.3). and lex -l will turn on this compatibility option even on flex which is delivered with FreeBSD. RTFM, please. /Marino >