mirror of
				https://github.com/RetroShare/RetroShare.git
				synced 2025-10-31 06:42:04 -04:00 
			
		
		
		
	 3be22536df
			
		
	
	
		3be22536df
		
	
	
	
	
		
			
			git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5953 b45a01b8-16f6-495d-af2f-9b41ad6348cc
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			285 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			285 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #include <stdio.h>
 | |
| 
 | |
| #define YY_INPUT(buf, result, max)			\
 | |
| {							\
 | |
|   int c= getchar();					\
 | |
|   result= (EOF == c) ? 0 : (*(buf)= c, 1);		\
 | |
|   if (EOF != c) printf("<%c>\n", c);			\
 | |
| }
 | |
| 
 | |
| #include "left.peg.c"
 | |
| 
 | |
| int main()
 | |
| {
 | |
|   printf(yyparse() ? "success\n" : "failure\n");
 | |
| 
 | |
|   return 0;
 | |
| }
 |