⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 occs-act.par

📁 compiler
💻 PAR
字号:
/*@A (C) 1992 Allen I. Holub                                                */

  @ This file is written to the yyact.c file when a -a is given to OCCS
  @ (instead of o\&ccs.par).
  @
  @ This section is output above any user-supplied code
  @
#ifdef YYDEBUG
#   define YYD(x) x
#else
#   define YYD(x) /* empty */
#endif

#include <stdio.h>
#include <tools/debug.h>  /* Included only for P() definition */




  @
  @ The following section goes out after the header but before the acts.
  @

#ifndef YYSTYPE		     	/* Default value stack type 	*/
#    define YYSTYPE int
#endif

#undef YYD			/* Redefine YYD in case YYDEBUG was defined  */
#ifdef YYDEBUG			/* explicitly in the header rather than with */
#   define YYD(x) x		/* a -D on the occs command line.	     */
#   define printf  yycode	/* Make printf() calls go to output window   */
#else
#   define YYD(x) /* empty */
#endif

void	yycode	    P(( char *fmt, ...	)); /* Supplied in parser and */
void	yydata	    P(( char *fmt, ...	)); /* in yydebug.c           */
void	yybss 	    P(( char *fmt, ...	));
void 	yyerror     P(( char *fmt, ...  ));
void 	yycomment   P(( char *fmt, ...  ));

extern YYSTYPE *Yy_vsp;	    /* Value-stack pointer		              */
extern YYSTYPE Yy_val;      /* Must hold $$ after act is performed	      */
extern int     Yy_rhslen;   /* number of symbols on RHS of current production */

  /*----------------------------------------------------------------------*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -