summaryrefslogtreecommitdiff
path: root/usr.bin/lex
Commit message (Collapse)AuthorAgeFilesLines
* MFV: r362286Jung-uk Kim2020-06-189-3008/+3428
|\ | | | | | | | | | | | | Merge flex 2.6.4. Notes: svn path=/head/; revision=362333
| * import vanilla flex version 2.5.35vendor/flex/2.5.35Baptiste Daroussin2011-11-2828-22407/+0
| | | | | | | | | | | | | | | | | | Reviewed by: cognet Approved by: cognet Notes: svn path=/vendor/flex/dist/; revision=228072 svn path=/vendor/flex/2.5.35/; revision=228075; tag=vendor/flex/2.5.35
| * Virgin import of Flex v2.5.4David E. O'Brien1999-10-275-64/+105
| | | | | | | | Notes: svn path=/vendor/flex/dist/; revision=52552
* | Disable new clang 10.0.0 warnings about misleading indentation in flex.Dimitry Andric2020-01-311-0/+2
| | | | | | | | | | | | | | | | | | | | As this is contributed code with very messy indentation, which will almost certainly never be upgraded, just disable the warning. MFC after: 3 days Notes: svn path=/projects/clang1000-import/; revision=357345
* | Update Makefile.depend filesSimon J. Gerraty2019-12-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Update a bunch of Makefile.depend files as a result of adding Makefile.depend.options files Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22494 Notes: svn path=/head/; revision=355617
* | Fix broken SPDX comment in usr.bin/lex/initparse.cAlex Richardson2018-02-071-1/+1
| | | | | | | | | | | | | | Approved By: jhb (mentor) Notes: svn path=/head/; revision=328979
* | General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* | DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | | | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* | Adopt SRCTOP in usr.binWarner Losh2017-03-122-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice) Notes: svn path=/head/; revision=315170
* | Use NULL instead of 0 for pointers.Marcelo Araujo2016-04-192-4/+4
| | | | | | | | | | | | | | | | | | realloc will return NULL in case it cannot allocate memory. MFC after: 2 weeks. Notes: svn path=/head/; revision=298241
* | DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-241-10/+0
| | | | | | | | | | | | | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
* | META MODE: Update dependencies with 'the-lot' and add missing directories.Bryan Drewery2015-12-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291563
* | META_MODE: Remove DEP_MACHINE from Makefile.depend files.Bryan Drewery2015-09-251-2/+0
| | | | | | | | | | | | | | | | | | This has not been needed since r246865 in projects/bmake. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288228
* | META_MODE: Remove DEP_RELDIR from Makefile.depend files.Bryan Drewery2015-09-251-2/+0
| | | | | | | | | | | | | | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288226
* | Add META_MODE support.Simon J. Gerraty2015-06-132-0/+41
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * | dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * | Merge sync of headSimon J. Gerraty2015-05-272-4/+3
| |\ \ | |/ / |/| | | | | Notes: svn path=/projects/bmake/; revision=283595
| * | Merge from headSimon J. Gerraty2014-05-081-1/+1
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * \ \ Merge from headSimon J. Gerraty2013-09-0531-15377/+9874
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * | | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | Sync from headSimon J. Gerraty2012-11-041-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-222-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | Add a ${CP} alias for copying files in the build.Will Andrews2015-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some users build FreeBSD as non-root in Perforce workspaces. By default, Perforce sets files read-only unless they're explicitly being edited. As a result, the -f argument must be used to cp in order to override the read-only flag when copying source files to object directories. Bare use of 'cp' should be avoided in the future. Update all current users of 'cp' in the src tree. Reviewed by: emaste MFC after: 1 week Sponsored by: Spectra Logic Notes: svn path=/head/; revision=277273
* | | | | | Workaround help2man defficiency that prevents mandoc from renderingBaptiste Daroussin2014-11-231-3/+2
| |_|_|/ / |/| | | | | | | | | | | | | | Notes: svn path=/head/; revision=274932
* | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* | | | Connect flex 2.5.37 to the build and bump __FreeBSD_version.Jung-uk Kim2013-05-2131-15377/+9874
| |/ / |/| | | | | | | | Notes: svn path=/head/; revision=250881
* | | Correct double "the the"Eitan Adler2012-09-141-1/+1
|/ / | | | | | | | | | | | | | | Approved by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=240518
* | Fix error reported by mandoc.Joel Dahl2012-05-231-2/+1
| | | | | | | | Notes: svn path=/head/; revision=235853
* | Parenthesize args in yyless() and unput() replacement textJens Schweikhardt2012-04-101-3/+3
| | | | | | | | | | | | | | | | | | so they are safer when used with expressions. MFC after: 1 week Notes: svn path=/head/; revision=234101
* | Spelling fixes for usr.bin/Ulrich Spörlein2011-12-303-4/+6
| | | | | | | | Notes: svn path=/head/; revision=228992
* | Replace char copyright[] by static const char copyright[].Ed Schouten2011-12-101-1/+1
| | | | | | | | | | | | | | It seems the latter is used throughout the tree. Notes: svn path=/head/; revision=228394
* | Fix typos - remove duplicate "the".Rebecca Cran2011-02-211-1/+1
| | | | | | | | | | | | | | | | | | PR: bin/154928 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days Notes: svn path=/head/; revision=218909
* | Unbreak the test target by re-generating the initial scannerUlrich Spörlein2010-11-092-183/+207
| | | | | | | | | | | | | | | | | | | | | | using an updated flex(1) binary. Also ignore the changing $FreeBSD$ ID lines when doing the diff. This needs additional obfuscation, to not upset the svn precommit hooks :/ Notes: svn path=/head/; revision=215040
* | flex: add missing ifdef magic to create/hide prototypesUlrich Spörlein2010-10-241-1/+23
| | | | | | | | | | | | | | | | | | | | This unbreaks build for some software with higher WARNS flags. Reviewed by: rpaulo PR: bin/139319 (parts already committed in previous revision) Notes: svn path=/head/; revision=214272
* | Don't define the input() function ifdef YY_NO_INPUT.Rui Paulo2010-10-131-0/+2
| | | | | | | | | | | | | | | | | | This was previously done for the input() function. Submitted by: Norberto Lopes <nblopes.ml at gmail.com> Notes: svn path=/head/; revision=213764
* | Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-022-0/+4
| | | | | | | | | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* | Let both yacc and lex generate code that passes -Wold-style-definition.Ed Schouten2009-12-302-6/+6
| | | | | | | | | | | | | | | | Both these tools emit code where several functions have no `void' keyword placed in the arugment list when the function has no arguments. Notes: svn path=/head/; revision=201289
* | Mark functions as __dead2 in order to help the LLVM static checkerColin Percival2008-08-041-1/+2
| | | | | | | | | | | | | | | | | | | | understand which code paths aren't possible. This commit eliminates 117 false positive bug reports of the form "allocate memory; error out if pointer is NULL; use pointer". Notes: svn path=/head/; revision=181269
* | I missed some "register"s in non-dot-C files.David Malone2008-06-085-28/+28
| | | | | | | | Notes: svn path=/head/; revision=179657
* | De-register declarations.David Malone2008-06-049-86/+86
| | | | | | | | Notes: svn path=/head/; revision=179549
* | - Convert NO_INSTALLLIB option to a new syntax: makefiles shouldRuslan Ermilov2007-10-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | test MK_INSTALLLIB, users can set WITHOUT_INSTALLLIB. The old NO_INSTALLLIB is still supported as several makefiles set it. - While here, fix an install when instructed not to install libs (usr.bin/lex/lib/Makefile). PR: bin/114200 Submitted by: Henrik Brix Andersen Notes: svn path=/head/; revision=172832
* | Convert NO_PROFILE and NO_LIB32 to new style.Ruslan Ermilov2006-03-181-1/+3
| | | | | | | | Notes: svn path=/head/; revision=156854
* | NODOCCOMPRESS -> NO_DOCCOMPRESSRuslan Ermilov2004-12-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | NOINFO -> NO_INFO NOINFOCOMPRESS -> NO_INFOCOMPRESS NOLINT -> NO_LINT NOPIC -> NO_PIC NOPROFILE -> NO_PROFILE Notes: svn path=/head/; revision=139106
* | For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | | | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* | Stop the practice of installing external headers into GCC-specific directory.Alexander Kabaev2004-07-301-1/+1
| | | | | | | | | | | | | | Install FlexLexer.h into /usr/include directly. Notes: svn path=/head/; revision=132862
* | Correct a minor syntax mistake.Giorgos Keramidas2004-07-071-1/+1
| | | | | | | | | | | | | | | | | | PR: docs/67458 Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us> MFC after: 3 days Notes: svn path=/head/; revision=131764
* | Replace <iostream.h> with <iostream> to remove annoying warningJosef El-Rayes2004-03-111-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | of using deprecated header. Approved by: dwhite, simon(mentor) Reviewed by: mlaier Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> PR: bin/63781 Notes: svn path=/head/; revision=126841
* | Mark a function as `unused' in generated code. (Sometimes it is used,Jacques Vidrine2004-01-061-1/+7
| | | | | | | | | | | | | | sometimes it is not, depending upon the input grammar.) Notes: svn path=/head/; revision=124186
* | Work around a `label defined but not used' warning in *generated* code.Jacques Vidrine2004-01-061-0/+2
| | | | | | | | Notes: svn path=/head/; revision=124183
* | Point to the new C++ include files location.Alexander Kabaev2003-07-111-1/+1
| | | | | | | | Notes: svn path=/head/; revision=117427