Commit 509c1e9c by Kaveh R. Ghazi Committed by Kaveh Ghazi

typeck.c (apply_chill_array_layout, [...]): Avoid the use of ANSI string concatenation.

        * typeck.c (apply_chill_array_layout, apply_chill_field_layout):
        Avoid the use of ANSI string concatenation.

        * expr.c (chill_expand_case_expr): Likewise.

From-SVN: r30867
parent 53a12329
1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* typeck.c (apply_chill_array_layout, apply_chill_field_layout):
Avoid the use of ANSI string concatenation.
* expr.c (chill_expand_case_expr): Likewise.
1999-11-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1999-11-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* expr.c (build_chill_function_call): Don't call a variadic * expr.c (build_chill_function_call): Don't call a variadic
......
...@@ -211,8 +211,7 @@ chill_expand_case_expr (expr) ...@@ -211,8 +211,7 @@ chill_expand_case_expr (expr)
chill_handle_case_label (TREE_VALUE (label), selector); chill_handle_case_label (TREE_VALUE (label), selector);
labels = TREE_CHAIN (labels); labels = TREE_CHAIN (labels);
if (labels != NULL_TREE) if (labels != NULL_TREE)
error ("The number of CASE selectors does not match the number " error ("The number of CASE selectors does not match the number of CASE label lists");
"of CASE label lists");
} }
} }
......
...@@ -2782,8 +2782,7 @@ apply_chill_array_layout (array_type) ...@@ -2782,8 +2782,7 @@ apply_chill_array_layout (array_type)
stepsize_specified = 1; stepsize_specified = 1;
if (stepsize != natural_length) if (stepsize != natural_length)
sorry ("Stepsize in STEP must be the natural width of " sorry ("Stepsize in STEP must be the natural width of the array element mode");
"the array element mode");
} }
} }
...@@ -2876,8 +2875,7 @@ apply_chill_array_layout (array_type) ...@@ -2876,8 +2875,7 @@ apply_chill_array_layout (array_type)
} }
if (! length_error && length != natural_length) if (! length_error && length != natural_length)
{ {
sorry ("The length specified on POS within STEP must be " sorry ("The length specified on POS within STEP must be the natural length of the array element type");
"the natural length of the array element type");
} }
} }
} }
...@@ -3175,8 +3173,7 @@ apply_chill_field_layout (decl, next_struct_offset) ...@@ -3175,8 +3173,7 @@ apply_chill_field_layout (decl, next_struct_offset)
} }
if (length != natural_length && ! pos_error) if (length != natural_length && ! pos_error)
{ {
sorry ("The length specified on POS must be the natural length " sorry ("The length specified on POS must be the natural length of the field type");
"of the field type");
length = natural_length; length = natural_length;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment