summaryrefslogtreecommitdiffabout
path: root/src/meta1-gram.y
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-15 22:08:45 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-05-15 22:17:20 (GMT)
commite559f3f36c99988ee80ac4ec01f80ea6578beebe (patch) (side-by-side diff)
treee9cd0ab93dc2901fce901a062c7c1ee7442979e5 /src/meta1-gram.y
parenta0826b4c7cd66c4862d9b61bb7e14d73fcba28f6 (diff)
downloadgrecs-e559f3f36c99988ee80ac4ec01f80ea6578beebe.tar.gz
grecs-e559f3f36c99988ee80ac4ec01f80ea6578beebe.tar.bz2
Implement BIND config parser.
* am/grecs.m4: New option: parser-bind. * src/.gitignore: Update. * src/Make.am [GRECS_COND_BIND_PARSER]: Set GRECS_PARSER_BIND and GRECS_EXTRA_BIND. (GRECS_SRC): Include GRECS_PARSER_BIND. (EXTRA_DIST): Include GRECS_EXTRA_BIND. * src/bind-gram.y: New file. * src/bind-lex.l: New file. * src/format.c (grecs_txtacc_format_value): New function. * src/grecs.h (grecs_bind_parser): New proto. * src/parser.c: Set grecs_current_locus. * src/tree.c (grecs_node_bind): Return immediately if node==NULL. * src/yytrans: Update.
Diffstat (limited to 'src/meta1-gram.y') (more/less context) (ignore whitespace changes)
-rw-r--r--src/meta1-gram.y1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/meta1-gram.y b/src/meta1-gram.y
index 8ddcbfb..2983221 100644
--- a/src/meta1-gram.y
+++ b/src/meta1-gram.y
@@ -198,7 +198,6 @@ grecs_meta1_parser(const char *name, int traceflags)
return NULL;
}
yyset_in(fp);
-
yy_flex_debug = traceflags & GRECS_TRACE_LEX;
yydebug = traceflags & GRECS_TRACE_GRAM;
parse_tree = NULL;

Return to:

Send suggestions and report system problems to the System administrator.