diff options
Diffstat (limited to 'gnu/usr.bin/cc/cc1plus/lex.c')
-rw-r--r-- | gnu/usr.bin/cc/cc1plus/lex.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/gnu/usr.bin/cc/cc1plus/lex.c b/gnu/usr.bin/cc/cc1plus/lex.c index 44c78f0..c3189f7 100644 --- a/gnu/usr.bin/cc/cc1plus/lex.c +++ b/gnu/usr.bin/cc/cc1plus/lex.c @@ -172,7 +172,7 @@ make_pointer_declarator (type_quals, target) We return an ADDR_EXPR whose "contents" are TARGET and whose type is the modifier list. */ - + tree make_reference_declarator (type_quals, target) tree type_quals, target; @@ -913,7 +913,7 @@ print_parse_statistics () int i; int maxlen = REDUCE_LENGTH; unsigned *sorted; - + if (reduce_count[-1] == 0) return; @@ -1006,7 +1006,7 @@ extract_interface_info () if (flag_alt_external_templates) { struct tinst_level *til = tinst_for_decl (); - + if (til) fileinfo = get_time_identifier (til->file); } @@ -1158,7 +1158,7 @@ do_pending_inlines () if (t == 0) return; - + /* Now start processing the first inline function. */ my_friendly_assert ((t->parm_vec == NULL_TREE) == (t->bindings == NULL_TREE), 226); @@ -1481,7 +1481,7 @@ store_pending_inline (decl, t) char *free_to = t->buf; t->buf = (char *) obstack_copy (&permanent_obstack, t->buf, t->len + 1); - t = (struct pending_inline *) obstack_copy (&permanent_obstack, + t = (struct pending_inline *) obstack_copy (&permanent_obstack, (char *)t, sizeof (*t)); obstack_free (&inline_text_obstack, free_to); } @@ -1591,7 +1591,7 @@ reinit_parse_for_block (yychar, obstackp, is_template) } else c = getch (); - + while (c != EOF) { int this_lineno = lineno; @@ -1770,10 +1770,10 @@ cons_up_default_function (type, name, kind) tree declarator = build_parse_node (CALL_EXPR, name, args, NULL_TREE); if (retref) declarator = build_parse_node (ADDR_EXPR, declarator); - + fn = grokfield (declarator, declspecs, NULL_TREE, NULL_TREE, NULL_TREE); } - + if (fn == void_type_node) return fn; @@ -1815,7 +1815,7 @@ cons_up_default_function (type, name, kind) /* Show that this function was generated by the compiler. */ SET_DECL_ARTIFICIAL (fn); - + return fn; } @@ -1902,7 +1902,7 @@ default_assign_ref_body (bufp, lenp, type, fields) } else tbuf = "{}"; - + *lenp = strlen (tbuf); *bufp = obstack_alloc (&inline_text_obstack, *lenp + 1); strcpy (*bufp, tbuf); @@ -2751,7 +2751,7 @@ linenum: strcpy (input_filename, TREE_STRING_POINTER (yylval.ttype)); lineno = l; GNU_xref_file (input_filename); - + if (main_input_filename == 0) { struct impl_files *ifiles = impl_file_chain; @@ -3158,7 +3158,7 @@ do_identifier (token) && TYPE_BEING_DEFINED (current_class_type) && ! IDENTIFIER_CLASS_VALUE (token)) pushdecl_class_level (id); - + if (!id || id == error_mark_node) { if (id == error_mark_node && current_class_type != NULL_TREE) @@ -3254,7 +3254,7 @@ struct try_type char long_long_flag; }; -struct try_type type_sequence[] = +struct try_type type_sequence[] = { { &integer_type_node, 0, 0, 0}, { &unsigned_type_node, 1, 0, 0}, @@ -3441,7 +3441,7 @@ real_yylex () { /* We are looking at a string. Complain if the token before the string is no `extern'. - + Could cheat some memory by placing this string on the temporary_, instead of the saveable_ obstack. */ @@ -3955,8 +3955,8 @@ real_yylex () << (i * HOST_BITS_PER_CHAR)); low |= (HOST_WIDE_INT) parts[i] << (i * HOST_BITS_PER_CHAR); } - - + + yylval.ttype = build_int_2 (low, high); TREE_TYPE (yylval.ttype) = long_long_unsigned_type_node; @@ -3983,7 +3983,7 @@ real_yylex () if (flag_traditional && type == long_unsigned_type_node && !spec_unsigned) type = long_integer_type_node; - + if (type == 0) { type = long_long_integer_type_node; @@ -4018,7 +4018,7 @@ real_yylex () if (!flag_traditional && type == long_unsigned_type_node && !spec_unsigned) type = long_integer_type_node; - + if (other_type != 0 && other_type != type) { if (flag_traditional) |