~ubuntu-branches/ubuntu/wily/freehdl/wily-proposed

« back to all changes in this revision

Viewing changes to vaul/stats.cc

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-10-09 10:24:01 UTC
  • mfrom: (5.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20141009102401-fhieerj8vm9sk3os
Tags: 0.0.8-2.1
* Non-maintainer upload.
* Build-depend on libtool-bin. Closes: #761746.

Show diffs side-by-side

added added

removed removed

Lines of Context:
732
732
      return NULL;
733
733
    }
734
734
 
735
 
  if (swex->subtype->declaration == NULL)
 
735
  // Get "very" base type of the subtype
 
736
  pIIR_Type baseType = swex->subtype;
 
737
  while (baseType->base != NULL && baseType->base != baseType) baseType = baseType->base;
 
738
  //if (swex->subtype->declaration == NULL)
 
739
  if (baseType->declaration == NULL)
736
740
    {
737
741
      swex_type = get_type(mVAUL_SimpleName(pos, make_id("integer")));
738
742
      //pVAUL_SelName sn = mVAUL_SelName(pos, mVAUL_SimpleName(pos, make_id("std")),