[BACK]Return to warn.out_ascii CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / mdoc / Fo

File: [cvsweb.bsd.lv] / mandoc / regress / mdoc / Fo / warn.out_ascii (download)

Revision 1.3, Fri Sep 13 19:26:47 2019 UTC (4 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, HEAD
Changes since 1.2: +22 -1 lines

Improve validation of function names:
1. Relax checking to accept function types of the form
"ret_type (fname)(args)" (suggested by Yuri Pankov <yuripv dot net>).
2. Tighten checking to require the closing parenthesis.

FO-WARN(1)                  General Commands Manual                 FO-WARN(1)

NNAAMMEE
     FFoo--wwaarrnn - warnings related to function blocks

SSYYNNOOPPSSIISS
     _d_o_u_b_l_e
     ssiinn(())(_d_o_u_b_l_e _x);

     _d_o_u_b_l_e
     aattaann22(_d_o_u_b_l_e _y_, _d_o_u_b_l_e _x);

     _i_n_t
     cclloossee))(_i_n_t _f_d);

     _t_y_p_e_d_e_f _v_o_i_d
     ((hhaannddlleerr))(_i_n_t);

     _t_y_p_e_d_e_f _v_o_i_d
     ((**ffpp))(_i_n_t);

     _i_n_t
     ((ooppeenn(_c_o_n_s_t _c_h_a_r _*_p_a_t_h);

     _F_I_L_E _*
     ((**ppooppeenn(_c_o_n_s_t _c_h_a_r _*_c_m_d);

     _v_o_i_d
     ((ttrraaiill))xx(_v_o_i_d);

     _v_o_i_d
     **ssttaarr(_v_o_i_d);

OpenBSD                       September 13, 2019                       OpenBSD