Changeset a422cc8 in tol


Ignore:
Timestamp:
Nov 11, 2009, 3:05:01 PM (17 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
6c9c9f7
Parents:
3a8f94f
Message:

Fixes #782

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@1682 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/bgrammar/str.cpp

    r3a8f94f ra422cc8  
    611611      obj = set[n+1];
    612612      fld = &(*field_)[n];
    613       ok = obj && (fld->Grammar()==obj->Grammar());
     613      ok = obj && ((fld->Grammar()==GraAnything()) ||
     614                   (fld->Grammar()==obj->Grammar()));
    614615      if(ok)
    615616      {
    … …  
    621622                 " cuando se encontro el objeto de tipo")+" "+
    622623              obj->Grammar()->Name()+" "+
    623               I2("without structure or with onother one",
     624              I2("without structure or with another one",
    624625                 "sin estructura o con otra distinta")+" "+
    625               I2("at element number ", "en el el elemento número ")+(n+1));
     626              I2("at element number ", "en el elemento número ")+(n+1));
    626627          ok = false;
    627628        }
Note: See TracChangeset for help on using the changeset viewer.