kinit should be able to get a initial message from FOO.SE. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@844 ec53bebd-3082-4978-b11e-865c3cabbd6b
		
			
				
	
	
		
			32 lines
		
	
	
		
			399 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			399 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* $Id$ */
 | 
						|
 | 
						|
#ifdef HAVE_CONFIG_H
 | 
						|
#include <config.h>
 | 
						|
#endif
 | 
						|
 | 
						|
#include <stdio.h>
 | 
						|
#include "symbol.h"
 | 
						|
 | 
						|
extern FILE *yyin;
 | 
						|
 | 
						|
int
 | 
						|
main(int argc, char **argv)
 | 
						|
{
 | 
						|
  int ret;
 | 
						|
  char *name;
 | 
						|
 | 
						|
  if (argc == 1) {
 | 
						|
    name = "stdin";
 | 
						|
    yyin = stdin;
 | 
						|
  } else {
 | 
						|
    name = argv[1];
 | 
						|
    yyin = fopen (name, "r");
 | 
						|
  }
 | 
						|
 | 
						|
  init_generate (name);
 | 
						|
  initsym ();
 | 
						|
  ret = yyparse ();
 | 
						|
  close_generate ();
 | 
						|
  return ret;
 | 
						|
}
 |