X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fexpressions%2Fprivate.h;h=b27c1458b9e2297a1f809ac16c3ebdf47a00b277;hb=f5c108becd49d78f4898cab11352291f5689d24e;hp=48cece73f658328c2de7f3b7532c3844564b20c6;hpb=7eee0554f378481faf447e2d2e940f389d6b05ec;p=pspp-builds.git diff --git a/src/language/expressions/private.h b/src/language/expressions/private.h index 48cece73..b27c1458 100644 --- a/src/language/expressions/private.h +++ b/src/language/expressions/private.h @@ -16,7 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifndef EXPRESSIONS_PRIVATE_H +#ifndef EXPRESSIONS_PRIVATE_H #define EXPRESSIONS_PRIVATE_H #include @@ -27,7 +27,7 @@ #include "public.h" #include "operations.h" -enum operation_flags +enum operation_flags { /* Most operations produce a missing output value if any input value is missing. Setting this bit indicates that @@ -46,7 +46,7 @@ enum operation_flags to be non-missing. The operation must have an array operand and the array must contain `double's. Both OPF_ABSORB_MISS and OPF_ARRAY_OPERAND must also be set. */ - OPF_MIN_VALID = 002, + OPF_MIN_VALID = 002, /* If set, operation is non-optimizable in general. Unless combined with OPF_ABSORB_MISS, missing input values are @@ -82,10 +82,10 @@ struct operation extern const struct operation operations[]; -/* Tree structured expressions. */ +/* Tree structured expressions. */ /* Atoms. */ -struct number_node +struct number_node { operation_type type; /* OP_number. */ double n; @@ -143,7 +143,7 @@ union any_node struct composite_node composite; }; -union operation_data +union operation_data { operation_type operation; double number;