From: Richard Kenner Date: Sun, 29 Sep 1996 23:02:58 +0000 (-0400) Subject: (yylex): Add new arg, TYPE, to call to build_complex. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7791247664583a58c7580c54ebba4e1e0629ffc7;p=gcc.git (yylex): Add new arg, TYPE, to call to build_complex. From-SVN: r12864 --- diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 966d5efa23f..d8e9e80da40 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -1465,7 +1465,8 @@ yylex () /* Create a node with determined type and value. */ if (imag) - yylval.ttype = build_complex (convert (type, integer_zero_node), + yylval.ttype = build_complex (NULL_TREE, + convert (type, integer_zero_node), build_real (type, value)); else yylval.ttype = build_real (type, value); @@ -1634,8 +1635,9 @@ yylex () if (TYPE_PRECISION (type) <= TYPE_PRECISION (integer_type_node)) yylval.ttype - = build_complex (integer_zero_node, - convert (integer_type_node, yylval.ttype)); + = build_complex (NULL_TREE, integer_zero_node, + convert (integer_type_node, + yylval.ttype)); else error ("complex integer constant is too wide for `complex int'"); }