Skip to content

Commit

Permalink
Bugfix #2408 main_v11.0 empty config (#2409)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway authored Jan 17, 2023
1 parent 6cb0ef4 commit f7e439d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/basic/vx_config/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ MAINTAINERCLEANFILES = Makefile.in
include ${top_srcdir}/Make-include

# Yacc/lex flags
# Initialize yystate to 8 to allow for empty configuartion files

AM_YFLAGS = --defines=config.tab.h -p config
AM_YFLAGS = --defines=config.tab.h -p config ; \
sed -i 's/yystate = 0;/yystate = 8;/g' config.tab.cc

# The library

Expand Down
5 changes: 4 additions & 1 deletion src/basic/vx_config/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,10 @@ top_srcdir = @top_srcdir@
MAINTAINERCLEANFILES = Makefile.in

# Yacc/lex flags
AM_YFLAGS = --defines=config.tab.h -p config
# Initialize yystate to 8 to allow for empty configuartion files
AM_YFLAGS = --defines=config.tab.h -p config ; \
sed -i 's/yystate = 0;/yystate = 8;/g' config.tab.cc


# The library
noinst_LIBRARIES = libvx_config.a
Expand Down

0 comments on commit f7e439d

Please sign in to comment.