Delete #if 0'd out code.

* language.c (binop_result_type): Delete.
	(simple_type, ordered_type, same_type, integral_type): Delete.
	(numeric_type, character_type, string_type, boolean_type): Delete.
	(float_type, structured_type): Delete.
	* language.h: Update.
This commit is contained in:
Doug Evans
2012-01-04 18:57:01 +00:00
parent 0f5b75627b
commit 5953832c5a
3 changed files with 9 additions and 284 deletions

View File

@ -473,26 +473,8 @@ extern enum language set_language (enum language);
/* Type predicates */
extern int simple_type (struct type *);
extern int ordered_type (struct type *);
extern int same_type (struct type *, struct type *);
extern int integral_type (struct type *);
extern int numeric_type (struct type *);
extern int character_type (struct type *);
extern int boolean_type (struct type *);
extern int float_type (struct type *);
extern int pointer_type (struct type *);
extern int structured_type (struct type *);
/* Checks Binary and Unary operations for semantic type correctness. */
/* FIXME: Does not appear to be used. */
#define unop_type_check(v,o) binop_type_check((v),NULL,(o))