Date: Mon, 05 Mar 2001 14:55:22 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Alfred Perlstein <bright@wintelcom.net> Cc: hackers@FreeBSD.org Subject: RE: fixing flex definitions? Message-ID: <XFMail.010305145522.jhb@FreeBSD.org> In-Reply-To: <20010305144823.B8663@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05-Mar-01 Alfred Perlstein wrote: > The flex scanner template has this in it: > >#ifndef YY_ALWAYS_INTERACTIVE >#ifndef YY_NEVER_INTERACTIVE > extern int isatty YY_PROTO(( int )); >#endif >#endif > > Which seems to be the wrong thing to do. > > Would this be an ok fix? I'm worried about the YY_PROTO() messing > things up anyone know what the point of doing it this way is? I'm guessing YY_PROTO is like __P() so it can be "compilable with a K&R Old Testament compiler." -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010305145522.jhb>