зеркало из https://github.com/mozilla/pjs.git
also permit zero scope to be okay as column scope for value oids
This commit is contained in:
Родитель
ae64a03f94
Коммит
5de9e486a5
|
@ -779,7 +779,8 @@ morkBuilder::OnValueMid(morkEnv* ev, const morkSpan& inSpan,
|
||||||
mork_token* metaSlot = mBuilder_MetaTokenSlot;
|
mork_token* metaSlot = mBuilder_MetaTokenSlot;
|
||||||
if ( metaSlot )
|
if ( metaSlot )
|
||||||
{
|
{
|
||||||
if ( valOid->mOid_Scope == morkStore_kColumnSpaceScope )
|
mork_scope valScope = valOid->mOid_Scope;
|
||||||
|
if ( !valScope || valScope == morkStore_kColumnSpaceScope )
|
||||||
{
|
{
|
||||||
if ( ev->Good() && valMid.HasSomeId() )
|
if ( ev->Good() && valMid.HasSomeId() )
|
||||||
{
|
{
|
||||||
|
|
|
@ -779,7 +779,8 @@ morkBuilder::OnValueMid(morkEnv* ev, const morkSpan& inSpan,
|
||||||
mork_token* metaSlot = mBuilder_MetaTokenSlot;
|
mork_token* metaSlot = mBuilder_MetaTokenSlot;
|
||||||
if ( metaSlot )
|
if ( metaSlot )
|
||||||
{
|
{
|
||||||
if ( valOid->mOid_Scope == morkStore_kColumnSpaceScope )
|
mork_scope valScope = valOid->mOid_Scope;
|
||||||
|
if ( !valScope || valScope == morkStore_kColumnSpaceScope )
|
||||||
{
|
{
|
||||||
if ( ev->Good() && valMid.HasSomeId() )
|
if ( ev->Good() && valMid.HasSomeId() )
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче