X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/77e3814f0c0e3dea4d0032e25666f77e6f83bfff..a2ed42264d57a90d79315f08e0639aa09b72bacd:/atc/lex.l diff --git a/atc/lex.l b/atc/lex.l index 65e0ad54..3e90b76e 100644 --- a/atc/lex.l +++ b/atc/lex.l @@ -1,7 +1,9 @@ %{ +/* $NetBSD: lex.l,v 1.7 2003/08/07 09:36:54 agc Exp $ */ + /*- - * Copyright (c) 1990 The Regents of the University of California. - * All rights reserved. + * Copyright (c) 1990, 1993 + * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Ed James. @@ -14,11 +16,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -44,11 +42,19 @@ * For more info on this and all of my stuff, mail edjames@berkeley.edu. */ +#include #ifndef lint -static char sccsid[] = "@(#)lex.l 5.2 (Berkeley) 4/30/90"; +#if 0 +static char sccsid[] = "@(#)lex.l 8.1 (Berkeley) 5/31/93"; +#else +__RCSID("$NetBSD: lex.l,v 1.7 2003/08/07 09:36:54 agc Exp $"); +#endif #endif /* not lint */ -#include "y.tab.h" +#include "include.h" +#undef ECHO /* XXX: work around lex(1) vs termios lameness */ +#include "grammar.h" + extern int line; %}