mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -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();
|
||||
Namespace<PgfConcr> concretes =
|
||||
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");
|
||||
pgf->concretes = concretes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user