smu

Simple markup processor
git clone https://git.sinitax.com/codemadness/smu
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit a8b7fd1ea2e17998bcfe5a39513d9994c56e5b80
parent 597bf0e64eb5ba07175e3b394ab73c4c2a948882
Author: gottox@rootkit.lan <gottox@rootkit.lan>
Date:   Mon, 10 Dec 2007 13:46:36 +0100

Adding dolist which I forgot in last commit

Diffstat:
Mcmarkdown.c | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/cmarkdown.c b/cmarkdown.c @@ -26,6 +26,8 @@ unsigned int dolineprefix(const char *begin, const char *end); /* Parser for line prefix tags */ unsigned int dolink(const char *begin, const char *end); /* Parser for links and images */ +unsigned int dolist(const char *begin, const char *end); + /* Parser for lists */ unsigned int doreplace(const char *begin, const char *end); /* Parser for simple replaces */ unsigned int doshortlink(const char *begin, const char *end); @@ -174,6 +176,11 @@ dolink(const char *begin, const char *end) { } unsigned int +dolist(const char *begin, const char *end) { + return 0; +} + +unsigned int doreplace(const char *begin, const char *end) { unsigned int i, l;