* mdocml: The .Sm macro accepts at most one argument; fixing an assertion
@ 2014-11-26 19:22 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-11-26 19:22 UTC (permalink / raw)
To: source
Log Message:
-----------
The .Sm macro accepts at most one argument;
fixing an assertion failure found by jsg@ with afl.
Modified Files:
--------------
mdocml:
mdoc_macro.c
Revision Data
-------------
Index: mdoc_macro.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mdoc_macro.c,v
retrieving revision 1.146
retrieving revision 1.147
diff -Lmdoc_macro.c -Lmdoc_macro.c -u -p -r1.146 -r1.147
--- mdoc_macro.c
+++ mdoc_macro.c
@@ -171,7 +171,7 @@ const struct mdoc_macro __mdoc_macros[MD
{ blk_part_exp, MDOC_CALLABLE | MDOC_PARSED |
MDOC_EXPLICIT | MDOC_JOIN }, /* So */
{ blk_part_imp, MDOC_CALLABLE | MDOC_PARSED | MDOC_JOIN }, /* Sq */
- { in_line_eoln, 0 }, /* Sm */
+ { in_line_argn, 0 }, /* Sm */
{ in_line, MDOC_CALLABLE | MDOC_PARSED | MDOC_JOIN }, /* Sx */
{ in_line, MDOC_CALLABLE | MDOC_PARSED | MDOC_JOIN }, /* Sy */
{ in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Tn */
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-26 19:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-26 19:22 mdocml: The .Sm macro accepts at most one argument; fixing an assertion schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).