Skip to content

Commit

Permalink
Changes to work under byacc
Browse files Browse the repository at this point in the history
Discussed with Dag.

Fixes #80.
  • Loading branch information
fgsch committed Apr 7, 2016
1 parent 0be07d8 commit 4d32f24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EXTRA_DIST = tests

AM_CPPFLAGS = $(EV_CFLAGS)
AM_CFLAGS = -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE
AM_YFLAGS = -d
AM_YFLAGS = -d -t

nobase_noinst_HEADERS = ringbuffer.h configuration.h shctx.h miniobj.h \
vqueue.h vpf.h flopen.h uthash.h sysl_tbl.h vas.h vsb.h
Expand Down
5 changes: 1 addition & 4 deletions src/cfg_parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ static struct front_arg *cur_fa;
char *s;
}

%debug
%verbose

%token <i> INT
%token <i> UINT
%token <i> BOOL
Expand All @@ -46,7 +43,7 @@ static struct front_arg *cur_fa;
%token TOK_PIDFILE TOK_SNI_NOMATCH_ABORT TOK_SSL TOK_TLS TOK_HOST TOK_PORT
%token TOK_MATCH_GLOBAL

%parse-param {hitch_config *cfg}
%parse-param { hitch_config *cfg }

%%
CFG
Expand Down

0 comments on commit 4d32f24

Please sign in to comment.