~ubuntu-branches/ubuntu/maverick/aspectc++/maverick

« back to all changes in this revision

Viewing changes to Puma/gen-release/step1/src/CSemDeclarator.cc

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
      if (delim->Star ())
131
131
        _type = new CTypeVarArray (_type, quals); // variable length array
132
132
      else {
133
 
        _type = new CTypeArray (_type, quals);
 
133
        _type = new CTypeArray (_type, quals, delim->Expr ());
134
134
        if (delim->Expr ()) {
135
135
          if (delim->Expr ()->Value ()) {
136
136
            if ((v = delim->Expr ()->Value ()->Constant ()))
165
165
            argtype = argtype->UnqualType ();
166
166
          // �8.3.5.2 the parameter list `(void)' is equivalent to
167
167
          // the empty parameter list
168
 
          if (! lang_c && argtype->is_void () && args == 1) 
 
168
          if (argtype->is_void () && args == 1) 
169
169
            break;
170
170
          // type `function returning T' is adjusted to be 
171
171
          // `pointer to function returning T'