windows-nt/Source/XPSP1/NT/com/rpc/tools/yacc/yaoput.c

18 lines
335 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
// Copyright (c) 1993-1999 Microsoft Corporation
#include "y4.h"
void
aoutput( void )
{
/* this version is for C */
/* write out the optimized parser */
fprintf( ftable, "# define YYLAST %d\n", maxa-a+1 );
arout( "yyact", a, (maxa-a)+1 );
arout( "yypact", pa, nstate );
arout( "yypgo", pgo, nnonter+1 );
}