making dynare++ code compatible with Bison 2.7. Fixes #461

time-shift
Michel Juillard 2013-08-07 14:43:27 +02:00
parent c9edb8d215
commit 0c40ba0420
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ CSVParser* csv_parser;
* csv_tab.cc generated from csv.lex and csv.y. */
void* csv__scan_buffer(char*, unsigned int);
void csv__destroy_buffer(void*);
void csv_parse();
int csv_parse();
extern ogp::location_type csv_lloc;

View File

@ -110,7 +110,7 @@ FormulaParser* fparser;
* formula_tab.cc generated from formula.lex and formula.y */
void* fmla__scan_buffer(char*, size_t);
void fmla__destroy_buffer(void*);
void fmla_parse();
int fmla_parse();
extern location_type fmla_lloc;
/** This makes own copy of provided data, sets the buffer for the

View File

@ -18,7 +18,7 @@ MatrixParser* mparser;
* matrix_tab.cc generated from matrix.lex and matrix.y. */
void* matrix__scan_buffer(char*, size_t);
void matrix__destroy_buffer(void*);
void matrix_parse();
int matrix_parse();
extern ogp::location_type matrix_lloc;
void MatrixParser::parse(int length, const char* stream)