X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=include%2Fparser.h;h=7a1837780c9fa5136c20234f7d87c0866d91b52c;hb=3e6d7001c4058b93281645e72ad1e223280b8589;hp=23cd12f625ff2e668c6aa2d793203d375916aa1a;hpb=4b8ad1b3b464836eca2e876dd418a8e8d87bd721;p=smdp.git diff --git a/include/parser.h b/include/parser.h index 23cd12f..7a18377 100644 --- a/include/parser.h +++ b/include/parser.h @@ -5,7 +5,7 @@ * Functions necessary to parse a file and transform its content into * a deck of slides containing lines. All based on markdown formating * rules. - * Copyright (C) 2014 Michael Goehler + * Copyright (C) 2015 Michael Goehler * * This file is part of mdp. * @@ -40,6 +40,11 @@ #include "markdown.h" #include "cstack.h" +#if defined( CYGWIN ) +#undef WEOF +#define WEOF (0xffff) +#endif // defined( CYGWIN ) + #define EXPAND_TABS 4 #define CODE_INDENT 4 #define UNORDERED_LIST_MAX_LEVEL 3 @@ -52,5 +57,6 @@ int next_nonblank(cstring_t *text, int i); int prev_blank(cstring_t *text, int i); int next_blank(cstring_t *text, int i); int next_word(cstring_t *text, int i); +int next_nontilde(cstring_t *text, int i); #endif // !defined( PARSER_H )