Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/minizinc/htmlprinter.hh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include <utility>
#include <vector>

#include <minizinc/flatten_internal.hh>

namespace MiniZinc {

class Model;
Expand Down
3 changes: 3 additions & 0 deletions include/minizinc/statistics.hh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@

#pragma once

#include <minizinc/ast.hh>
#include <minizinc/prettyprinter.hh>
#include <minizinc/warning.hh>

#include <ios>
#include <iterator>
#include <memory>

Expand Down
5 changes: 3 additions & 2 deletions include/minizinc/support/regex.hh
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@

#pragma once

#ifdef HAS_GECODE

// Regex Parser Requirements
#include <minizinc/astmap.hh>
#include <minizinc/aststring.hh>
#include <minizinc/config.hh>
#include <minizinc/values.hh>

#include <memory>
#include <set>

#ifdef HAS_GECODE

#include <gecode/minimodel.hh>
#undef ERROR

Expand Down
6 changes: 6 additions & 0 deletions lib/parser.yxx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

%code requires {
#include <minizinc/ast.hh>
}

%define api.pure

%parse-param {void *parm}
Expand All @@ -32,6 +36,8 @@ namespace MiniZinc{ class ParserLocation; }
#define YYMAXDEPTH 10000
#define YYINITDEPTH 10000

#include <vector>

#include <minizinc/parser.hh>
#include <minizinc/file_utils.hh>

Expand Down