bug fix, ./configure && make dist was broken, hardwire flex
This commit is contained in:
parent
f127c5cfb2
commit
7816052481
10
ChangeLog
10
ChangeLog
|
|
@ -1,3 +1,13 @@
|
||||||
|
2010-09-30 Robert Larice
|
||||||
|
* src/xspice/cmpp/Makefile.am ,
|
||||||
|
* src/xspice/cmpp/ifs_lex.l ,
|
||||||
|
* src/xspice/cmpp/mod_lex.l :
|
||||||
|
always use flex instead of an arbitrary lex,
|
||||||
|
use flex specific %options, to clean up the Makefile
|
||||||
|
don't write the lexer via stdout, to improve gcc warning readability
|
||||||
|
this works around a bug as well, which caused erronous lexer c files
|
||||||
|
to be included in the distribution tar ball
|
||||||
|
|
||||||
============================ Rework-22 ==================================
|
============================ Rework-22 ==================================
|
||||||
2010-09-26 Holger Vogt
|
2010-09-26 Holger Vogt
|
||||||
* .cvsignore: m4 entry removed
|
* .cvsignore: m4 entry removed
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ EXTRA_DIST = ifs_lex.l mod_lex.l ifs_yacc.h mod_yacc.h
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
LEX = @LEX@ -t
|
LEX = flex
|
||||||
BISON = bison
|
BISON = bison
|
||||||
|
|
||||||
bin_PROGRAMS = cmpp
|
bin_PROGRAMS = cmpp
|
||||||
|
|
@ -17,11 +17,11 @@ cmpp_SOURCES = cmpp.h main.c pp_ifs.c pp_lst.c pp_mod.c read_ifs.c util.c \
|
||||||
|
|
||||||
mod_lex.o : mod_yacc.h
|
mod_lex.o : mod_yacc.h
|
||||||
mod_lex.c : mod_lex.l
|
mod_lex.c : mod_lex.l
|
||||||
$(LEX) -Pmod_yy $< > $@
|
$(LEX) -o $@ $<
|
||||||
|
|
||||||
ifs_lex.o : ifs_yacc.h
|
ifs_lex.o : ifs_yacc.h
|
||||||
ifs_lex.c : ifs_lex.l
|
ifs_lex.c : ifs_lex.l
|
||||||
$(LEX) -i -Pifs_yy $< > $@
|
$(LEX) -o $@ $<
|
||||||
|
|
||||||
ifs_yacc.c ifs_yacc.h : ifs_yacc.y
|
ifs_yacc.c ifs_yacc.h : ifs_yacc.y
|
||||||
$(BISON) $(BISONFLAGS) -d -o ifs_yacc.c $<
|
$(BISON) $(BISONFLAGS) -d -o ifs_yacc.c $<
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
%option case-insensitive
|
||||||
|
%option prefix="ifs_yy"
|
||||||
%option yylineno
|
%option yylineno
|
||||||
%option noyywrap
|
%option noyywrap
|
||||||
%{ /* $Id$ */
|
%{ /* $Id$ */
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
%option prefix="mod_yy"
|
||||||
%option yylineno
|
%option yylineno
|
||||||
%option noyywrap
|
%option noyywrap
|
||||||
%{ /* $Id$ */
|
%{ /* $Id$ */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue