<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/usr.bin/yacc/skeleton.c, branch release/4.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=release%2F4.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=release%2F4.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2000-01-17T02:04:06Z</updated>
<entry>
<title>Fixed breakage of K&amp;R support in rev.1.26.  yyparse() was defined as</title>
<updated>2000-01-17T02:04:06Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>2000-01-17T02:04:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=87be6e697a0666206d4f0050112be07651554aa5'/>
<id>urn:sha1:87be6e697a0666206d4f0050112be07651554aa5</id>
<content type='text'>
`int yyparse(;) ; { ... }' in K&amp;R mode.  Getting rid of the second
unwanted semicolon in this made the ifdef tangle more tangled than
before.  Fixed a backwards comment in the tangle.
</content>
</entry>
<entry>
<title>Fixed breakage of K&amp;R support in rev.1.8 of output.c: don't generate</title>
<updated>2000-01-17T01:51:29Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>2000-01-17T01:51:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=dd079f6ca5389503805f597b247d3567c8191cdf'/>
<id>urn:sha1:dd079f6ca5389503805f597b247d3567c8191cdf</id>
<content type='text'>
#elif.  Cleaned up rev.1.8 a bit more: generate the #include of
&lt;stdio.h&gt; closer to the code that needs it.
</content>
</entry>
<entry>
<title>Make "YYPARSE_PARAM" and "YYPARSE_PARAM_TYPE" C++/ANSI-C clean.</title>
<updated>1999-10-28T15:18:05Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>1999-10-28T15:18:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=484620e2e41e2c6c575b663c983a688b65cfdc76'/>
<id>urn:sha1:484620e2e41e2c6c575b663c983a688b65cfdc76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow a user specified parameter to 'yyparse()', in a manner similar to</title>
<updated>1999-10-27T17:51:37Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>1999-10-27T17:51:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c3584b3b4eefd14cfcc5a82a641a016031ff88be'/>
<id>urn:sha1:c3584b3b4eefd14cfcc5a82a641a016031ff88be</id>
<content type='text'>
that used by bison.  The names are consistent with the bison implementation
but this one also allows the type of the parameter to be specified.

For a desired prototype of:

	int yyparse __P((struct yyresult *));

and compile like this:

	yacc -dv grammar.y
	cc -c -DYYPARSE_PARAM_TYPE="struct yyresult *" \
	      -DYYPARSE_PARAM="parm" y.tab.c

and use like this:

	${
	#include "usrtypes.h"
	#include "usrproto.h"
	}$

	%token NUMBER

	%%

	goal : NUMBER
		{
		parm-&gt;value = yylval;
		} ;

If YYPARSE_PARAM_TYPE isn't specified then "void *" is the default type.
If YYPARSE_PARAM is not specified then the generated code behaves exactly
as traditional byacc.

PR:		13562
Submitted by:	W Gerald Hicks &lt;wghicks@bellsouth.net&gt;
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T01:08:13Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T01:08:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c3aac50f284c6cca5b4f2eb46aaa13812cb8b630'/>
<id>urn:sha1:c3aac50f284c6cca5b4f2eb46aaa13812cb8b630</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert the past 3 commits to what should have been the rev 1.18 -&gt; rev 1.19</title>
<updated>1999-07-30T15:05:32Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>1999-07-30T15:05:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=17e66307604da3e603050b4d49e1633e1bcda73f'/>
<id>urn:sha1:17e66307604da3e603050b4d49e1633e1bcda73f</id>
<content type='text'>
change.  (doesn't anybody read commit logs and look at the diffs?)
</content>
</entry>
<entry>
<title>Hyphens are not legal characters in a C identifier.</title>
<updated>1999-07-30T14:52:23Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>1999-07-30T14:52:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=aed4de8a07cbfb542e96487b867c2eac837554ba'/>
<id>urn:sha1:aed4de8a07cbfb542e96487b867c2eac837554ba</id>
<content type='text'>
Broken by:	hoek
</content>
</entry>
<entry>
<title>Even better fix for last commit: rename rcsid[] to _yacc-parser_rcsid[]</title>
<updated>1999-07-30T13:04:19Z</updated>
<author>
<name>Tim Vanderhoek</name>
<email>hoek@FreeBSD.org</email>
</author>
<published>1999-07-30T13:04:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=593bbda37661c6f6c4ba2fac02969da776bf3b60'/>
<id>urn:sha1:593bbda37661c6f6c4ba2fac02969da776bf3b60</id>
<content type='text'>
(one always gets these ideas just after the commit).
</content>
</entry>
<entry>
<title>Don't output rcsid into the output parser.  It may have already been</title>
<updated>1999-07-30T12:53:21Z</updated>
<author>
<name>Tim Vanderhoek</name>
<email>hoek@FreeBSD.org</email>
</author>
<published>1999-07-30T12:53:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=892d5804bb017b93e92322b4cbf7d538e44fc795'/>
<id>urn:sha1:892d5804bb017b93e92322b4cbf7d538e44fc795</id>
<content type='text'>
defined in an input file such as src/bin/sh/arith.y.  #if 0 it out.  I did
not add $Id$ back into the comment header (as removed from last commit).
</content>
</entry>
<entry>
<title>Only output `rcsid' (set to our Id string) into the resulting parser file.</title>
<updated>1999-07-30T06:40:00Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>1999-07-30T06:40:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=55293461db7f2755f023845c86fab853d6851be6'/>
<id>urn:sha1:55293461db7f2755f023845c86fab853d6851be6</id>
<content type='text'>
Don't output `sccsid' (set to an anchient UCB Id string) into the parser file.

Submitted by:	bde
</content>
</entry>
</feed>
