mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-23 18:02:54 -06:00
fix merge_pgf after the latest refactory
This commit is contained in:
@@ -893,7 +893,7 @@ void PgfReader::merge_pgf(ref<PgfPGF> pgf)
|
|||||||
ref<PgfConcr> concr = PgfReader::read_concrete();
|
ref<PgfConcr> concr = PgfReader::read_concrete();
|
||||||
Namespace<PgfConcr> concretes =
|
Namespace<PgfConcr> concretes =
|
||||||
namespace_insert(pgf->concretes, concr);
|
namespace_insert(pgf->concretes, concr);
|
||||||
if (concretes != 0)
|
if (concretes == 0)
|
||||||
throw pgf_error("One and the same concrete syntax is included in several PGF files");
|
throw pgf_error("One and the same concrete syntax is included in several PGF files");
|
||||||
pgf->concretes = concretes;
|
pgf->concretes = concretes;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user