summaryrefslogtreecommitdiffstats
path: root/usr.bin/yacc
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | 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
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge from head@274682sjg2014-11-193-46/+38
| |\ | |/ |/|
| * Merge head from 7/28sjg2014-08-1935-15076/+352
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Merge from headsjg2014-05-081-1/+1
| |\ \
| * \ \ Merge headsjg2014-04-2835-6/+15096
| |\ \ \
| * | | | Updated dependenciessjg2013-03-111-0/+1
| | | | |
| * | | | Updated dependenciessjg2013-02-161-2/+0
| | | | |
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | Increase MAXTABLE to the maxmimum possible value. The default value is toojkim2014-11-131-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | low for complex parsers. Note it was one of those memory optimization hacks back in the day. MFC after: 1 week
* | | | | Complete the usr.bin/yacc kyua integration work I originallyngie2014-08-122-43/+34
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | submitted via r268811 - Install the Kyuafile by adding FILES to FILESGROUPS - Run the testcases with an unprivileged user Some of the testcases depend upon behavior that's broken when run as root on FreeBSD because of how permissions are treated with access(2) vs eaccess(2), open(2), etc - Simplify the test driver to just inspect the exit code from run_test because it now exits with 0 if successful and exits with !0 if unsuccessful - Don't do ad hoc temporary directory creation/deletion; let Kyua handle that - Add entries for files removed in r268811 to OptionalObsoleteFiles.inc PR: 191020 X-MFC with: r268811 Approved by: jmmv (mentor) Reviewed by: bapt Sponsored by: EMC / Isilon Storage Division
* | | | Update to byacc 20140715 (only concerns regression tests being fixed)bapt2014-07-1735-15076/+352
| |_|/ |/| | | | | | | | | | | | | | | | | Directly use regression test from upstream PR: 191020 Submitted by: gcooper (yaneurabeya@gmail.com)
* | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| |/ |/| | | | | from the latter.
* | Update to byacc 20140409bapt2014-04-231-4/+2
| | | | | | | | | | | | | | | | Among all the modifications, this new byacc also solves a 14 year old bug [1] PR: bin/23254 [1] Submitted by: marka@nominum.com [1] MFC after: 3 weeks
* | Migrate most of tools/regression/usr.bin/ to the new tests layout.jmmv2014-03-1635-0/+15088
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm starting with the easy cases. The leftovers need to be looked at a bit more closely. Note that this change _does_ modify the code of the old tests. This is required in order to allow the code to locate the data files in the source directory instead of the current directory, because Kyua automatically changes the latter to a temporary directory. Also note that at least one test is known to be broken here. Actually, the test is not really broken: it's marked as a TODO but unfortunately Kyua's TAP parser currently does not understand that. Will have to be fixed separately.
* | Add missing bits from the vendor's 2005-05-04 change toobrien2013-12-041-2/+6
| | | | | | | | | | | | | | | | contrib/byacc/makefile.in ("add YYPATCH here so it can be tested by applications") so that applications have a hope of detecting newer FreeBSD YACC output from an older one. Submitted by: Juniper Networks
* | Setting WARNS=6 is useless, as it is already the defaultbapt2013-10-291-1/+0
| | | | | | | | Reported by: Sascha Wildner
* | Change warning level to 6bapt2013-10-291-0/+1
|/
* Import byacc from invisible island, it brings us lots of compatibilities withbapt2012-05-2129-13032/+11
| | | | | | | | | | | | | bison, keeping full compatibility with our previous yacc implementation. Also bring the ability to create reentrant parser This fix bin/140309 [1] PR: bin/140309 [1] Submitted by: Philippe Pepiot <ksh@philpep.org> [1] Approved by: des (mentor) MFC after: 1 month
* Spelling fixes for usr.bin/uqs2011-12-302-2/+4
|
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-1116-64/+2
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Fix the build on 64-bit hosts. WARNS=6 fails on them.obrien2010-11-091-2/+2
|
* Back out r214961 for skeleton.c -- it broke the groff build.obrien2010-11-081-4/+4
|
* Add '-y' for bison compatibility.obrien2010-11-072-2/+10
| | | | Obtained from: http://invisible-island.net
* Inherit WARNS from parent directory.obrien2010-11-071-2/+0
| | | | Submitted by: marius
* Directly use memory allocation functions and remove needless casts inobrien2010-11-0711-140/+136
| | | | their usage. Also use associated modern types instead of k&r ones.
* Change to ANSI-C function definitions.obrien2010-11-0713-282/+182
|
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Let both yacc and lex generate code that passes -Wold-style-definition.ed2009-12-301-0/+4
| | | | | Both these tools emit code where several functions have no `void' keyword placed in the arugment list when the function has no arguments.
* remove external reference to not (or at least no longer) existing variable ↵rse2009-12-171-1/+0
| | | | 'myname'
* Setting a variable to the same value twice doesn't actually make itcperciva2008-08-041-2/+0
| | | | | | more likely to have the right value. Remove superfluous assignments. Found by: LLVM/Clang Static Checker
* Mark functions as __dead2 in order to help the LLVM static checkercperciva2008-08-041-24/+24
| | | | | | | 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".
* Indent the else path, reduce diff against OpenBSD.delphij2008-07-181-1/+1
|
* Fix a longstanding bug, from Otto Moerbeck:kevlo2008-07-181-1/+5
| | | | | | | | | if we're reducing a rule that has an empty right hand side and the yacc stackpointer is pointing at the very end of the allocated stack, we end up accessing the stack out of bounds by the implicit $$ = $1 action Obtained from: OpenBSD
* Sort sections.ru2005-01-181-4/+4
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Use getopt instead of hand-rolled argument parsing. Usage remainswes2004-03-051-72/+15
| | | | | | | | the same, no man page changes required. PR: bin/48313 Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org> Reviewed by: joe@
* Add __unused to the declaration of yyrcsid in a more portable way.davidc2003-02-121-1/+4
| | | | Discussed with: alfred, bde, jmallett, obrien
* Backout my previous commit as requested. This solution generatesdavidc2003-02-081-2/+1
| | | | parsers that are non-portable.
* Add __unused to the declaration of yyrcsid.davidc2003-02-071-1/+2
|
* mdoc(7) police: back out unproved changes from previous revision.ru2002-11-261-1/+1
| | | | Approved by: re
* Add section number to .Xr directive.charnier2002-10-161-6/+6
|
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-251-2/+2
|
* Use the constants from <limits.h> for the sizes of integral C typesrobert2002-06-115-12/+10
| | | | rather than defining them ourselves.
* Note that this appeared at least as early as PWB UNIX.jmallett2002-06-101-0/+4
| | | | Use the literal string 'PWB UNIX', as we still have no .At macro for it.
* mdoc(7) police: tidy up the markup.ru2002-05-301-13/+7
|
* Restore some of the original variable names, but fix the warnings theirobrien2002-04-231-21/+19
| | | | renaming addressed by removing the global variants instead.
* Use `The .Nm utility'charnier2002-04-201-4/+6
|
OpenPOWER on IntegriCloud