Do not use '#endif/#else xxx'; it is not allowed for ANSI C

This commit is contained in:
ceriel
1991-12-17 14:11:15 +00:00
parent a3bbaf4940
commit 7d78a01b64
56 changed files with 343 additions and 345 deletions

View File

@@ -36,7 +36,7 @@ struct floating {
char *fl_value; /* pointer to string repr. the fp const. */
label fl_datlab; /* global data_label */
};
#endif NOFLOAT
#endif /* NOFLOAT */
struct oper {
struct type *op_type; /* resulting type of the operation */
@@ -50,7 +50,7 @@ struct oper {
#define String 1 /* it is a string constant */
#ifndef NOFLOAT
#define Float 2 /* it is a floating point constant */
#endif NOFLOAT
#endif /* NOFLOAT */
#define Oper 3 /* it is a run-time expression */
#define Type 4 /* only its type is relevant */
@@ -68,7 +68,7 @@ struct expr {
struct string ex_string;
#ifndef NOFLOAT
struct floating ex_float;
#endif NOFLOAT
#endif /* NOFLOAT */
struct oper ex_oper;
} ex_object;
};
@@ -85,7 +85,7 @@ struct expr {
#ifndef NOFLOAT
#define FL_VALUE ex_object.ex_float.fl_value
#define FL_DATLAB ex_object.ex_float.fl_datlab
#endif NOFLOAT
#endif /* NOFLOAT */
#define OP_TYPE ex_object.ex_oper.op_type
#define OP_LEFT ex_object.ex_oper.op_left
#define OP_OPER ex_object.ex_oper.op_oper