%if-c-only
static void yy_fatal_error YYFARGS1(yyconst char*, msg)
{
- m4_dnl M4_YY_DECL_GUTS_VAR();
+ M4_YY_DECL_GUTS_VAR();
+ M4_YY_NOOP_GUTS_VAR();
(void) fprintf( stderr, "%s\n", msg );
exit( YY_EXIT_FAILURE );
}
#ifndef yytext_ptr
static void yy_flex_strncpy YYFARGS3( char*,s1, yyconst char *,s2, int,n)
{
+ M4_YY_DECL_GUTS_VAR();
+ M4_YY_NOOP_GUTS_VAR();
+
int i;
for ( i = 0; i < n; ++i )
s1[i] = s2[i];
[[
void *yyalloc YYFARGS1( yy_size_t ,size)
{
+ M4_YY_DECL_GUTS_VAR();
+ M4_YY_NOOP_GUTS_VAR();
return (void *) malloc( size );
}
]])
[[
void *yyrealloc YYFARGS2( void *,ptr, yy_size_t ,size)
{
+ M4_YY_DECL_GUTS_VAR();
+ M4_YY_NOOP_GUTS_VAR();
+
/* The cast to (char *) in the following accommodates both
* implementations that use char* generic pointers, and those
* that use void* generic pointers. It works with the latter
[[
void yyfree YYFARGS1( void *,ptr)
{
+ M4_YY_DECL_GUTS_VAR();
+ M4_YY_NOOP_GUTS_VAR();
free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
}
]])
static struct yytbl_dmap *yytbl_dmap_lookup YYFARGS2(struct yytbl_dmap *, dmap,
int, id)
{
+ M4_YY_DECL_GUTS_VAR();
+ M4_YY_NOOP_GUTS_VAR();
+
while (dmap->dm_id)
if (dmap->dm_id == id)
return dmap;
int main (int argc, char *argv[])
{
- while (yylex () != 0)
- continue;
+ (void)argc;
+ (void)argv;
+
+ while (yylex () != 0) ;
return 0;
}
void yyerror( msg )
const char *msg;
{
+ (void)msg;
}
int main ( int argc, char** argv )
{
+ (void)argc;
+ (void)argv;
+
/*yydebug =1;*/
testin = stdin;
testparse ( );
int main ( int argc, char** argv )
{
yyscan_t scanner;
+
+ (void)argc;
+ (void)argv;
+
/*yydebug =1;*/
testlex_init ( &scanner );
testset_in(stdin,scanner);
%%
int yyerror(void* scanner, char* msg) {
+ (void)scanner;
fprintf(stderr,"%s\n",msg);
return 0;
}
int main ( int argc, char** argv )
{
yyscan_t scanner;
+
+ (void)argc;
+ (void)argv;
+
/*yydebug =1;*/
testlex_init ( &scanner );
testset_in(stdin,scanner);
%%
int yyerror(void* scanner, char* msg) {
+ (void)scanner;
fprintf(stderr,"%s\n",msg);
return 0;
}
int
main ( int argc, char** argv )
{
+ (void)argc;
+ (void)argv;
+
testin = stdin;
testout = stdout;
testlex();
int
main ( int argc, char** argv )
{
+ (void)argc;
+ (void)argv;
+
yyscan_t scanner;
FILE *fp;
char * extra = "EXTRA";
int argc;
char** argv;
{
+ (void)argv;
+
if( argc > 1 )
printf("%d\n", count_newlines(stdin));
int argc;
char ** argv;
{
+ (void)argv;
+
if( argc > 1 )
printf("%d\n", count_newlines(stdin));
int argc;
char** argv;
{
+ (void)argv;
+
if( argc > 1 )
printf("%d\n", count_newlines(stdin));
void * yyalloc(yy_size_t n , void* yyscanner)
{
+ (void)yyscanner;
+
void * p;
int i;
void * yyrealloc(void* p, yy_size_t n , void* yyscanner)
{
+ (void)yyscanner;
+
int i;
for (i=0; i < arrsz; i++)
if ( ptrs[i].p == p){
void yyfree(void* p , void* yyscanner)
{
+ (void)yyscanner;
+
int i;
for (i=0; i < arrsz; i++)
if ( ptrs[i].p == p){
int
main ( int argc, char** argv )
{
+ (void)argc;
+ (void)argv;
+
int S1_ok=1, S2_ok=1;
YY_BUFFER_STATE buff1, buff2;
S1_out = S2_out = stdout;
int
main ( int argc, char** argv )
{
+ (void)argc;
+ (void)argv;
+
int S1_ok=1, S2_ok=1;
FILE * fp;
YY_BUFFER_STATE buff1, buff2;
<INITIAL,STATE_1,STATE_2>[[:space:]\r\n]+ { }
%%
-int yywrap( yyscan_t scanner) { return 1; }
+int yywrap( yyscan_t scanner) {
+ (void)scanner;
+ return 1;
+}
static int process_text(char* s, yyscan_t scanner)
{
+ (void)scanner;
return (int)(*s) + (int) *(s + yyget_leng(scanner)-1);
}
{
int i;
+ (void)arg;
+
/* Wait for go-ahead. */
pthread_mutex_lock( &go_ahead);
pthread_mutex_unlock(&go_ahead);
FILE* fp;
int i;
+ (void)argc;
+
if ((fp = fopen(argv[1],"r")) == NULL){
perror("Failed to open input file.");
return 1;
int i;
yyscan_t yyscanner;
+ (void)argc;
+
if ((fp = fopen(argv[1],"r")) == NULL){
perror("Failed to open input file.");
return 1;
int
main ( int argc, char** argv )
{
+ (void)argc;
+ (void)argv;
+
yyscan_t scanner;
FILE *fp;
char * extra = "EXTRA";