Commit Graph

56 Commits

Author SHA1 Message Date
Josef El-Rayes
55cc37447a Replace <iostream.h> with <iostream> to remove annoying warning
of using deprecated header.

Approved by:    dwhite, simon(mentor)
Reviewed by:    mlaier
Submitted by:   Stefan Farfeleder <stefan@fafoe.narf.at>
PR:             bin/63781
2004-03-11 10:43:35 +00:00
Jacques Vidrine
d48ff1e438 Mark a function as `unused' in generated code. (Sometimes it is used,
sometimes it is not, depending upon the input grammar.)
2004-01-06 19:03:44 +00:00
Jacques Vidrine
d179cf2207 Work around a `label defined but not used' warning in *generated* code. 2004-01-06 18:54:55 +00:00
Alexander Kabaev
e9f8ce2eea Point to the new C++ include files location. 2003-07-11 05:30:58 +00:00
Jens Schweikhardt
9d5abbddbf Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.
2003-01-01 18:49:04 +00:00
Jens Schweikhardt
d64ada501a Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
Jens Schweikhardt
57bd0fc6e8 english(4) police. 2002-12-27 12:15:40 +00:00
David E. O'Brien
6c1739987a Catch up with the ISO-C++ standard.
Submitted by:	Craig Rodrigues <rodrigc@attbi.com>
2002-09-09 02:58:42 +00:00
Philippe Charnier
93b0017f88 Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
David E. O'Brien
e026a48c34 Consistently use FBSDID 2002-06-30 05:25:07 +00:00
Ruslan Ermilov
c7b111cba8 Added new bsd.incs.mk which handles installing of header files
via INCS.  Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files.  Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1.  Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

	kerberos5/lib/libtelnet/Makefile
	lib/libbz2/Makefile
	lib/libdevinfo/Makefile
	lib/libform/Makefile
	lib/libisc/Makefile
	lib/libmenu/Makefile
	lib/libmilter/Makefile
	lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD.  Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
2002-05-12 16:01:00 +00:00
Ruslan Ermilov
c86f28d27b Back out rev. 1.6 (NOLIB bootstrap helper) OBE'd by Makefile.inc1,v 1.96.
PR:		bin/36417
Submitted by:	Eugene Grosbein <eugen@www.svzserv.kemerovo.su>
2002-03-28 10:53:49 +00:00
Dima Dorfman
5222969570 ``recognized -> recognize'' where appropriate.
Obtained from:	OpenBSD
2001-08-23 21:13:31 +00:00
Ruslan Ermilov
8af1452cf8 Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
Assar Westerlund
dbda0a3480 revert last commit. using %option nounput is better
noted by:	Seth Kingsley <seth.kingsley@windriver.com>
2001-07-22 23:14:33 +00:00
Assar Westerlund
04625dfc30 add an unused attribute to yyunput to avoid warnings (errors) when
it's not being used
2001-07-21 19:47:17 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
Ruslan Ermilov
63914212f0 Eliminate troff(1) warnings that were hiding some useful text. 2001-07-12 14:29:59 +00:00
Dima Dorfman
70d51341bf mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
Ruslan Ermilov
dc12be5258 MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
Bruce Evans
58de7a0d92 Install Flexlexer.h with mode 444. 1999-12-17 07:49:03 +00:00
Dmitrij Tejblum
d5a53b4fe6 Generate skel.c at build time. 1999-11-20 15:41:43 +00:00
David E. O'Brien
b60b8d23b8 Add more verbage explaining the "-I" option and its behavior.
Submitted by:	Archie Cobbs <archie@whistle.com>
1999-10-27 20:21:03 +00:00
David E. O'Brien
2db7675cc2 After a proper import we now have both the original RCS tags + our own.
(also now clearer in ``cvs log'' that we are at version 2.5.4)
1999-10-27 07:56:49 +00:00
David E. O'Brien
4698d64d69 Add $FreeBSD$'s 1999-10-27 07:47:42 +00:00
Peter Wemm
a1a4f1a0d8 $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Dmitrij Tejblum
ab1c32cc13 Backed out "fix for PR 7575". It was bogus. 1998-10-01 19:40:27 +00:00
Poul-Henning Kamp
9cd4d748f9 /usr/src/usr.bin/lex/Makefile puts FlexLexer.h into /usr/include/g++,
but flex still generates "#include <FlexLexer.h".  As a result,
C++ sources flex generates failed to be compiled.

PR:		7575
Reviewed by:	phk
Submitted by:	MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
1998-08-14 06:35:37 +00:00
Peter Hawkins
a1fca66a0b Submitted by: Peter Hawkins thepish@freebsd.org
Small man page fix (missing ']' in [:alpha:] example)
1998-06-11 02:14:58 +00:00
Bruce Evans
1b1ddfa527 Simplified by using new yacc rules. The new lex rules can't be used
here, at least without ifdefs for the bootstrap.
1998-05-04 19:10:20 +00:00
Jordan K. Hubbard
97fe7f477f Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by:	<many different folks>
Submitted by:	Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
1997-10-05 09:40:24 +00:00
John-Mark Gurney
ef67fb1c1b fix misspelling
Submitted-by: Josh Gilliam

Closes PR:4428
1997-08-30 11:10:56 +00:00
Paul Traina
72b4ef7179 NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".
NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).
1997-06-29 06:03:42 +00:00
David E. O'Brien
849e394f6b Add `%{'' and `%}'' to one of the examples so that you can actually
cut-n-paste the example and have it actually lex and compile.
1997-04-11 10:33:12 +00:00
Peter Wemm
c115df18cd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Steve Price
398b39b912 Upgrade to version 2.5.4 of flex.
Inspired by: NetBSD/OpenBSD (I can't remember who I saw do it
             first, so I'll give them both some inspiration
             points. :)
1996-12-14 05:48:48 +00:00
Peter Wemm
accc8b5dba Clean up some loose ends on my previous work in here.. 1996-10-29 05:08:21 +00:00
Peter Wemm
25c04ed294 Clean up dependencies a bit (we were not doing a depend on scan.c)
Make the 'bootstrap' target work a little better.
1996-09-19 05:21:07 +00:00
Peter Wemm
2f15594269 Move tsort back to lib-tools where it belongs, and add a "specially
for bootstrap" tweak to the lex Makefile to stop it building the library
too early.

This untangles things a bit more, it stops new bootstraps failing because
libl/libfl uses 'ld -O' before ld is updated.
1996-08-07 13:25:59 +00:00
Nate Williams
baba307627 Whoops, forgot one FreeBSD specific change necessary for the lex .mk
macros to work.
1996-06-19 22:25:32 +00:00
Nate Williams
693e59976b Finish the import and merge in FreeBSD specific changes.
Add a 'bootstrap' target which *must* be run before building the new
version, since the new scanner relies on the current version of flex to
build itself otherwise.
1996-06-19 20:48:06 +00:00
Nate Williams
9c38336b2b This commit was generated by cvs2svn to compensate for changes in r16514,
which included commits to RCS files with non-trunk default branches.
1996-06-19 20:26:48 +00:00
Nate Williams
0a985cc317 Flex version 2.5.3 from Vern Paxson at LBL. 1996-06-19 20:26:48 +00:00
Wolfram Schneider
9fb933075e `mv'' -> `mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
1996-05-07 23:19:49 +00:00
Joerg Wunsch
1b989d7a36 Now that we install the `flex' alias for our lex, we should also
install the `libfl' alias for libl.  Some third-party software will
expect it this way.

Submitted by:	Holm tiffe (holm@geophysik.tu-freiberg.de)
1996-02-24 16:31:31 +00:00
Mike Pritchard
bcff8e2ae4 Another round of man page cleanups.
Down to only about 100 items left to cleanup! :-)
1996-02-12 04:57:03 +00:00
Peter Wemm
5ff3832b04 Add some links to lex (flex, flex++ etc) that some of the gnu autoconf
scripts check for.  (when looking explicitly for flex..)
Also, do some man links for the commands under their alternate names.
Install the c++ FlexLexer.h file as per the "XXX TODO" comment.
1996-01-08 09:17:39 +00:00
Peter Wemm
6065a0be11 This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00