diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-16 12:18:04 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-16 12:21:25 +0300 |
commit | aa31497d9f0a3e96801d3752dd2d8f4ea20a2f4c (patch) | |
tree | 3bdf880ec5c4bd2c97d7d7ff665e13a7ca4b0a76 /src/Make.am | |
parent | 8eb1be8941228d01438436b53dd46b422ba980a3 (diff) | |
download | grecs-aa31497d9f0a3e96801d3752dd2d8f4ea20a2f4c.tar.gz grecs-aa31497d9f0a3e96801d3752dd2d8f4ea20a2f4c.tar.bz2 |
Implement parser for git-style config files.
* am/grecs.m4: New option: parser-git
* doc/GRECS_SETUP.3: Document new options.
* src/git-parser.c: New file.
* src/Make.am [GRECS_COND_GIT_PARSER]: Define GRECS_PARSER_GIT.
(GRECS_SRC): Add GRECS_PARSER_GIT.
* src/grecs.h (grecs_git_parser): New proto.
* src/txtacc.c (grecs_txtacc_free): Ignore NULL argument.
Diffstat (limited to 'src/Make.am')
-rw-r--r-- | src/Make.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Make.am b/src/Make.am index e05afc5..312c734 100644 --- a/src/Make.am +++ b/src/Make.am @@ -24,6 +24,10 @@ if GRECS_COND_BIND_PARSER GRECS_EXTRA_BIND = bind-gram.h endif +if GRECS_COND_GIT_PARSER + GRECS_PARSER_GIT = git-parser.c +endif + GRECS_SRC = \ asprintf.c\ diag.c\ @@ -45,6 +49,7 @@ GRECS_SRC = \ version.c\ wordsplit.c\ $(GRECS_PARSER_BIND)\ + $(GRECS_PARSER_GIT)\ $(GRECS_PARSER_META1) noinst_HEADERS = |