aboutsummaryrefslogtreecommitdiffstats
path: root/src/source-grammar.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-17 01:47:41 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-17 01:47:41 -0300
commit047e4e3753c597628024847a524d44ca67fa1382 (patch)
tree8c0d63ecd8d395815a4eee155c2ce6283e0e7fab /src/source-grammar.h
parentf5da9cc42acc79d7dda78e57fab8a1b8d7aa6a7d (diff)
downloadblogc-047e4e3753c597628024847a524d44ca67fa1382.tar.gz
blogc-047e4e3753c597628024847a524d44ca67fa1382.tar.bz2
blogc-047e4e3753c597628024847a524d44ca67fa1382.zip
replaced leg-based parser with handmade parser for source files
Diffstat (limited to 'src/source-grammar.h')
-rw-r--r--src/source-grammar.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/source-grammar.h b/src/source-grammar.h
deleted file mode 100644
index 540c21b..0000000
--- a/src/source-grammar.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * blogc: A blog compiler.
- * Copyright (C) 2015 Rafael G. Martins <rafael@rafaelmartins.eng.br>
- *
- * This program can be distributed under the terms of the LGPL-2 License.
- * See the file COPYING.
- */
-
-#ifndef _SOURCE_GRAMAR_H
-#define _SOURCE_GRAMAR_H
-
-#include "utils/utils.h"
-
-typedef struct {
- b_trie_t *config;
- char *content;
-} blogc_source_t;
-
-blogc_source_t* blogc_source_parse(const char *tmpl);
-void blogc_source_free(blogc_source_t *source);
-
-#endif /* _SOURCE_GRAMAR_H */