X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fexpressions%2Fprivate.h;h=48cece73f658328c2de7f3b7532c3844564b20c6;hb=48386ee68a5283653435d05a9ea4e449710fd370;hp=6173b4f481029de9e36006c470eca47bcb88a035;hpb=0a20082e28caaaf1122510d992e1c6dce755ad0e;p=pspp-builds.git diff --git a/src/language/expressions/private.h b/src/language/expressions/private.h index 6173b4f4..48cece73 100644 --- a/src/language/expressions/private.h +++ b/src/language/expressions/private.h @@ -100,7 +100,7 @@ struct string_node struct variable_node { operation_type type; /* OP_variable. */ - struct variable *v; + const struct variable *v; }; struct integer_node @@ -148,7 +148,7 @@ union operation_data operation_type operation; double number; struct substring string; - struct variable *variable; + const struct variable *variable; const struct vector *vector; struct fmt_spec *format; int integer; @@ -194,7 +194,7 @@ union any_node *expr_allocate_string_buffer (struct expression *e, union any_node *expr_allocate_string (struct expression *e, struct substring); union any_node *expr_allocate_variable (struct expression *e, - struct variable *); + const struct variable *); union any_node *expr_allocate_format (struct expression *e, const struct fmt_spec *); union any_node *expr_allocate_vector (struct expression *e,