summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Fo/warn.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-09-13 19:26:46 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-09-13 19:26:46 +0000
commit4ef634f0d16fbda69aef241fb561f27496c09867 (patch)
tree647f01e796b5b830b46968f589435f4bcd69b255 /regress/mdoc/Fo/warn.out_ascii
parentcdc19ab62bcbc6a6f545f4f8f654f00a9a662f10 (diff)
downloadmandoc-4ef634f0d16fbda69aef241fb561f27496c09867.tar.gz
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.
Diffstat (limited to 'regress/mdoc/Fo/warn.out_ascii')
-rw-r--r--regress/mdoc/Fo/warn.out_ascii23
1 files changed, 22 insertions, 1 deletions
diff --git a/regress/mdoc/Fo/warn.out_ascii b/regress/mdoc/Fo/warn.out_ascii
index 85f0b46f..d4ed2e43 100644
--- a/regress/mdoc/Fo/warn.out_ascii
+++ b/regress/mdoc/Fo/warn.out_ascii
@@ -10,4 +10,25 @@ SSYYNNOOPPSSIISS
_d_o_u_b_l_e
aattaann22(_d_o_u_b_l_e _y_, _d_o_u_b_l_e _x);
-OpenBSD July 4, 2017 OpenBSD
+ _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