From owner-freebsd-hackers Mon Sep 9 10:51:28 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA07592 for hackers-outgoing; Mon, 9 Sep 1996 10:51:28 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA07587 for ; Mon, 9 Sep 1996 10:51:26 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with ESMTP id KAA21469; Mon, 9 Sep 1996 10:51:11 -0700 (PDT) To: Charles Henrich cc: freebsd-hackers@FreeBSD.org Subject: Re: yylineno ? In-reply-to: Your message of "Mon, 09 Sep 1996 13:35:49 EDT." <199609091735.NAA02362@crh.cl.msu.edu> Date: Mon, 09 Sep 1996 10:51:11 -0700 Message-ID: <21467.842291471@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > 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 a ny > ideas on what to replace it with? A rule which counts newlines and manipulates a global integer called yylineno has generally been my solution. :-) Jordan