X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fvalue.h;h=fccd8a98cd4e0093928f1bf5178aa4f42ea5f9ff;hb=eca977e618f2d4c6d55d9851b9714fd60e55559b;hp=17f60bbd01bc40dd908dd2114fa3a6c983439968;hpb=393668423c1c9456fd82db6b30f25de078915da5;p=pspp diff --git a/src/data/value.h b/src/data/value.h index 17f60bbd01..fccd8a98cd 100644 --- a/src/data/value.h +++ b/src/data/value.h @@ -47,23 +47,12 @@ #define LOWEST second_lowest_value #define HIGHEST DBL_MAX -/* Describes one value, which is either a floating-point number or a - short string. */ +/* A numeric or short string value. + Multiple consecutive values represent a long string. */ union value { - /* A numeric value. */ double f; - - /* A short-string value. */ char s[MAX_SHORT_STRING]; - - /* Used by evaluate_expression() to return a string result. - As currently implemented, it's a pointer to a dynamic - buffer in the appropriate expression. - - Also used by the AGGREGATE procedure in handling string - values. */ - char *c; }; /* Maximum number of `union value's in a single number or string