X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fexpressions%2Fprivate.h;h=3fa108d5a4bd93007772d47500ab76ce7a9beea5;hb=762876f19fa870401ae882515de1b58703b73ac4;hp=0d81c22cdbad8070ee0014f06ebf131a3522579d;hpb=ca31bef58d82ef1dfdb00a7a65667608ddc6ec9f;p=pspp-builds.git diff --git a/src/language/expressions/private.h b/src/language/expressions/private.h index 0d81c22c..3fa108d5 100644 --- a/src/language/expressions/private.h +++ b/src/language/expressions/private.h @@ -92,7 +92,7 @@ struct number_node struct string_node { operation_type type; /* OP_string. */ - struct fixed_string s; + struct substring s; }; struct variable_node @@ -145,7 +145,7 @@ union operation_data { operation_type operation; double number; - struct fixed_string string; + struct substring string; struct variable *variable; const struct vector *vector; struct fmt_spec *format; @@ -164,7 +164,7 @@ struct expression size_t op_cnt, op_cap; /* Number of ops, amount of allocated space. */ double *number_stack; /* Evaluation stack: numerics, Booleans. */ - struct fixed_string *string_stack; /* Evaluation stack: strings. */ + struct substring *string_stack; /* Evaluation stack: strings. */ struct pool *eval_pool; /* Pool for evaluation temporaries. */ }; @@ -190,7 +190,7 @@ union any_node *expr_allocate_pos_int (struct expression *e, int); union any_node *expr_allocate_string_buffer (struct expression *e, const char *string, size_t length); union any_node *expr_allocate_string (struct expression *e, - struct fixed_string); + struct substring); union any_node *expr_allocate_variable (struct expression *e, struct variable *); union any_node *expr_allocate_format (struct expression *e,