mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-04 03:15:26 -07:00
fix merge_pgf after the latest refactory
This commit is contained in:
1 parent
9dc36a0f5f
commit
dfa2c7873b
1 file changed
+1
-1
@@ -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