pinosaur
/
smdp.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added a char stack implementation for later use
[smdp.git]
/
include
/
parser.h
diff --git
a/include/parser.h
b/include/parser.h
index
7ade17c
..
da63fa1
100644
(file)
--- a/
include/parser.h
+++ b/
include/parser.h
@@
-3,10
+3,16
@@
#include "markdown.h"
#include "markdown.h"
-document_t *markdown_load(FILE *input);
+#define EXPAND_TABS 4
+#define CODE_INDENT 4
+
+deck_t *markdown_load(FILE *input);
int markdown_analyse(cstring_t *text);
int markdown_analyse(cstring_t *text);
+void markdown_debug(deck_t *deck, int debug);
int is_utf8(char ch);
int is_utf8(char ch);
+int length_utf8(char ch);
int next_nonblank(cstring_t *text, int i);
int next_blank(cstring_t *text, int i);
int next_nonblank(cstring_t *text, int i);
int next_blank(cstring_t *text, int i);
+int next_word(cstring_t *text, int i);
#endif // !defined( PARSER_H )
#endif // !defined( PARSER_H )