Mercurial > octave-nkf
comparison build-aux/common.mk @ 19008:d8abf813c69f stable
handle changes in bison 3.x
* acinclude.m4 (OCTAVE_PROG_BISON): Also check for the proper way to
declare api.prefix.
* build-aux/common.mk (BISON_API_PREFIX_DECL_STYLE): New variable.
* lex.ll: Conditionally define YYSTYPE.
* oct-parse.in.yy (%API_PREFIX_DECL%): Allow for differences in the
way api.prefix is specified in different versions of bison.
* libinterp/parse-tree/module.mk (parse-tree/oct-parse.yy): Also
substitute %API_PREFIX_DECL% in lex.ll.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 01 Aug 2014 08:09:02 -0400 |
parents | b6b6e0dc700e |
children | c59745865c7f 446c46af4b42 |
comparison
equal
deleted
inserted
replaced
19007:625e3bb65885 | 19008:d8abf813c69f |
---|---|
44 AM_LFLAGS = @LFLAGS@ | 44 AM_LFLAGS = @LFLAGS@ |
45 LEXLIB = @LEXLIB@ | 45 LEXLIB = @LEXLIB@ |
46 | 46 |
47 YACC = @YACC@ | 47 YACC = @YACC@ |
48 AM_YFLAGS = -dv | 48 AM_YFLAGS = -dv |
49 BISON_API_PREFIX_DECL_STYLE = @BISON_API_PREFIX_DECL_STYLE@ | |
49 BISON_PUSH_PULL_DECL_STYLE = @BISON_PUSH_PULL_DECL_STYLE@ | 50 BISON_PUSH_PULL_DECL_STYLE = @BISON_PUSH_PULL_DECL_STYLE@ |
50 | 51 |
51 GPERF = @GPERF@ | 52 GPERF = @GPERF@ |
52 | 53 |
53 AR = @AR@ | 54 AR = @AR@ |