Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Sep 1996 10:51:11 -0700
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Charles Henrich <henrich@crh.cl.msu.edu>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: yylineno ? 
Message-ID:  <21467.842291471@time.cdrom.com>
In-Reply-To: Your message of "Mon, 09 Sep 1996 13:35:49 EDT." <199609091735.NAA02362@crh.cl.msu.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21467.842291471>