mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-27 05:22:50 -06:00
added safeguard to ensure that PgfRevision is an actual object
This commit is contained in:
@@ -8,11 +8,6 @@
|
||||
#include <stdexcept>
|
||||
|
||||
#include "pgf.h"
|
||||
#include "db.h"
|
||||
#include "text.h"
|
||||
#include "vector.h"
|
||||
#include "namespace.h"
|
||||
#include "expr.h"
|
||||
|
||||
class PGF_INTERNAL_DECL pgf_error : public std::runtime_error {
|
||||
public:
|
||||
@@ -59,6 +54,12 @@ private:
|
||||
const char *m_filepath;
|
||||
};
|
||||
|
||||
#include "db.h"
|
||||
#include "text.h"
|
||||
#include "vector.h"
|
||||
#include "namespace.h"
|
||||
#include "expr.h"
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfFlag {
|
||||
PgfLiteral value;
|
||||
PgfText name;
|
||||
|
||||
Reference in New Issue
Block a user