This is Unofficial EPICS BASE Doxygen Site
skeleton.c File Reference
#include "defs.h"
+ Include dependency graph for skeleton.c:

Go to the source code of this file.

Functions

void write_section (char *section[])
 

Variables

char * banner []
 
char * tables []
 
char * header []
 
char * body []
 
char * trailer []
 

Function Documentation

void write_section ( char *  section[])

Definition at line 284 of file skeleton.c.

285 {
286  int c;
287  int i;
288  char *s;
289  FILE *f;
290 
291  f = code_file;
292  for (i = 0; (s = section[i]); ++i)
293  {
294  ++outline;
295  while ((c = *s))
296  {
297  putc(c, f);
298  ++s;
299  }
300  putc('\n', f);
301  }
302 }
int i
Definition: scan.c:967
FILE * code_file
Definition: antelope.c:44
int outline
Definition: antelope.c:34

Variable Documentation

char* banner[]
Initial value:
=
{
"#define YYBYACC 1",
"#define YYMAJOR 1",
"#define YYMINOR 9",
"#define yyclearin (yychar=(-1))",
"#define yyerrok (yyerrflag=0)",
"#define YYRECOVERING (yyerrflag!=0)",
"static int yyparse(void);",
0
}

Definition at line 19 of file skeleton.c.

char* body[]

Definition at line 81 of file skeleton.c.

char* header[]
Initial value:
=
{
"#ifdef YYSTACKSIZE",
"#undef YYMAXDEPTH",
"#define YYMAXDEPTH YYSTACKSIZE",
"#else",
"#ifdef YYMAXDEPTH",
"#define YYSTACKSIZE YYMAXDEPTH",
"#else",
"#define YYSTACKSIZE 500",
"#define YYMAXDEPTH 500",
"#endif",
"#endif",
"#if YYDEBUG",
"static int yydebug;",
"#endif",
"static int yynerrs;",
"static int yyerrflag;",
"static int yychar;",
"static short *yyssp;",
"static YYSTYPE *yyvsp;",
"static YYSTYPE yyval;",
"static YYSTYPE yylval;",
"static short yyss[YYSTACKSIZE];",
"static YYSTYPE yyvs[YYSTACKSIZE];",
"#define yystacksize YYSTACKSIZE",
0
}

Definition at line 51 of file skeleton.c.

char* tables[]
Initial value:
=
{
"static short yylhs[];",
"static short yylen[];",
"static short yydefred[];",
"static short yydgoto[];",
"static short yysindex[];",
"static short yyrindex[];",
"static short yygindex[];",
"static short yytable[];",
"static short yycheck[];",
"#if YYDEBUG",
"static char *yyname[];",
"static char *yyrule[];",
"#endif",
0
}

Definition at line 32 of file skeleton.c.

char* trailer[]

Definition at line 221 of file skeleton.c.