Fix -fpedantic combined with `F()' invocation,
authorCraig Burley <burley@gnu.org>
Sun, 8 Feb 1998 23:55:11 +0000 (18:55 -0500)
committerJeff Law <law@gcc.gnu.org>
Sun, 8 Feb 1998 23:55:11 +0000 (16:55 -0700)
commit34bea46406d7ba187df47051b01a60ea29fde38c
tree67df2486cf61873ee6cf22faad31924eda865415
parentaea955a2dfe37f7f7c82f36ff0cf018695bc2b70
Fix -fpedantic combined with `F()' invocation,

        also -fugly-comma combined with `IARGC()' invocation:
        * bad.def (FFEBAD_NULL_ARGUMENT_W): New diagnostic.
        * expr.c (ffeexpr_finished_): Don't reject null expressions
        in the argument-expression context -- let outer context
        handle that.
        (ffeexpr_token_arguments_): Warn about null expressions
        here if -fpedantic (as appropriate).
        Obey -fugly-comma for only external-procedure invocations.

From-SVN: r17793
gcc/f/ChangeLog.egcs
gcc/f/bad.def
gcc/f/expr.c