diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-20 15:32:10 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-20 15:32:10 +0100 |
commit | 33274515c4ee5dc844314feea046bb321cb99aea (patch) | |
tree | 6a5281297e9bdf3e16ec1d13c6314d655eb80f24 /Converter/includes | |
parent | 9042af391b891b0b0b9d9a04d35ac98ea95ca11d (diff) | |
download | mdhtml-33274515c4ee5dc844314feea046bb321cb99aea.tar.gz mdhtml-33274515c4ee5dc844314feea046bb321cb99aea.tar.bz2 mdhtml-33274515c4ee5dc844314feea046bb321cb99aea.zip |
-removed the refactor of compile_inner_text
Doesn't work very well
Diffstat (limited to 'Converter/includes')
-rw-r--r-- | Converter/includes/compiler.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Converter/includes/compiler.h b/Converter/includes/compiler.h index 1e8578f..6e1eca8 100644 --- a/Converter/includes/compiler.h +++ b/Converter/includes/compiler.h @@ -6,8 +6,6 @@ typedef char *string; const static char TOKENS[] = {'*', '_', '~'}; -const static char *TOKENS_COMPILED[] = { "<i>", "<u>", "<s>" }; -const static char *TOKENS_CLOSE_COMPILED[] = { "</i>", "</u>", "</s>" }; const static size_t N_TOKENS = 3; /* Compile markdown line to HTML line */ @@ -16,7 +14,5 @@ string compile_line(string line, size_t sz_line, string line_or_source); int find_string(string src, string query, size_t sz_src, size_t sz_query); /* Check if a given character is a text token*/ bool is_token(char c); -/* Generate the compiled token pair for a given single sized markdown token */ -char **get_token_pair(char c); #endif // __COMPILER_H_ |