src/AST.h
changeset 191 9d17f29fe16a
parent 187 9308d52205a0
     1.1 --- a/src/AST.h	Sun Sep 16 21:59:26 2012 -0700
     1.2 +++ b/src/AST.h	Sun Sep 16 22:49:54 2012 -0700
     1.3 @@ -779,8 +779,9 @@
     1.4  class FunctionSignature
     1.5  {
     1.6    public:
     1.7 -    FunctionSignature(BoundName *returnType, ParameterList *parameters)
     1.8 +    FunctionSignature(BoundName *returnType, ExpressionList *returnDimensions, ParameterList *parameters)
     1.9        : returnType_(returnType),
    1.10 +        returnDimensions_(returnDimensions),
    1.11          parameters_(parameters)
    1.12      {
    1.13      }
    1.14 @@ -788,12 +789,16 @@
    1.15      BoundName *returnType() const {
    1.16          return returnType_;
    1.17      }
    1.18 +    ExpressionList *returnDimensions() const {
    1.19 +        return returnDimensions_;
    1.20 +    }
    1.21      ParameterList *parameters() const {
    1.22          return parameters_;
    1.23      }
    1.24  
    1.25    private:
    1.26      BoundName *returnType_;
    1.27 +    ExpressionList *returnDimensions_;
    1.28      ParameterList *parameters_;
    1.29  };
    1.30