for( i = 0; reserved_words[i] != NULL; i++ ) { if( strcmp( name, reserved_words[i] ) == 0 ) { sprintf(tmp, "illegal (reserved) name :\'%s\' in type definition", name ); error(tmp);
for (i = 0; reserved_words[i] != NULL; i++) { if (strcmp (name, reserved_words[i]) == 0) { sprintf (tmp, "illegal (reserved) name :\'%s\' in type definition", name); error (tmp); }
static void check_type_name(const char *name, int new_type){  int i;  char tmp[100];  for( i = 0; reserved_words[i] != NULL; i++ ) {    if( strcmp( name, reserved_words[i] ) == 0 ) {      sprintf(tmp, 	      "illegal (reserved) name :\'%s\' in type definition", name );      error(tmp);    }  }  if( new_type ) {    for( i = 0; reserved_types[i] != NULL; i++ ) {      if( strcmp( name, reserved_types[i] ) == 0 ) {	sprintf(tmp, 		"illegal (reserved) name :\'%s\' in type definition", name );	error(tmp);      }    }  }}