Do not split string literals.
authorChristoph Mallon <christoph.mallon@gmx.de>
Fri, 12 Sep 2008 17:21:15 +0000 (17:21 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Fri, 12 Sep 2008 17:21:15 +0000 (17:21 +0000)
[r21901]

parser.c

index 9a35b66..5f4834d 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -5444,8 +5444,8 @@ static void parse_compound_declarators(declaration_t *struct_declaration,
                                expression_t *size = parse_constant_expression();
 
                                if (!is_type_integer(type)) {
-                                       errorf(HERE, "bitfield base type '%T' is not an "
-                                              "integer type", orig_type);
+                                       errorf(HERE, "bitfield base type '%T' is not an integer type",
+                                              orig_type);
                                }
 
                                type_t *bitfield_type = make_bitfield_type(orig_type, size, &source_position);
@@ -5458,8 +5458,8 @@ static void parse_compound_declarators(declaration_t *struct_declaration,
                                               "compound member '%Y' has incomplete type '%T'",
                                               declaration->symbol, orig_type);
                                } else if (is_type_function(type)) {
-                                       errorf(HERE, "compound member '%Y' must not have function "
-                                              "type '%T'", declaration->symbol, orig_type);
+                                       errorf(HERE, "compound member '%Y' must not have function type '%T'",
+                                              declaration->symbol, orig_type);
                                }
                        }
                }