Commit 0c40ba04 authored by MichelJuillard's avatar MichelJuillard
Browse files

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

parent c9edb8d2
......@@ -14,7 +14,7 @@ CSVParser* csv_parser;
* 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;
......@@ -110,7 +110,7 @@ FormulaParser* fparser;
* 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
......@@ -18,7 +18,7 @@ MatrixParser* mparser;
* 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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment