teddy: fix forward decl (namespace ue2)

This commit is contained in:
Justin Viiret 2017-04-04 09:29:41 +10:00 committed by Matthew Barr
parent 67779e0c0a
commit d9bac2bdb3
2 changed files with 8 additions and 3 deletions

View File

@ -26,6 +26,11 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
/**
* \file
* \brief FDR literal matcher: Teddy build code.
*/
#include "teddy_compile.h" #include "teddy_compile.h"
#include "fdr.h" #include "fdr.h"
@ -44,7 +49,6 @@
#include "util/target_info.h" #include "util/target_info.h"
#include "util/verify_types.h" #include "util/verify_types.h"
#include <algorithm> #include <algorithm>
#include <cassert> #include <cassert>
#include <cctype> #include <cctype>

View File

@ -26,7 +26,8 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
/** \file /**
* \file
* \brief FDR literal matcher: Teddy build API. * \brief FDR literal matcher: Teddy build API.
*/ */
@ -39,12 +40,12 @@
#include <vector> #include <vector>
struct FDR; struct FDR;
struct target_t;
namespace ue2 { namespace ue2 {
struct Grey; struct Grey;
struct hwlmLiteral; struct hwlmLiteral;
struct target_t;
bytecode_ptr<FDR> teddyBuildTableHinted(const std::vector<hwlmLiteral> &lits, bytecode_ptr<FDR> teddyBuildTableHinted(const std::vector<hwlmLiteral> &lits,
bool make_small, u32 hint, bool make_small, u32 hint,