src/compiler/AST.h
changeset 234 26e3035cdffc
parent 233 bbb498ccb4ac
child 238 e9bec7549c28
     1.1 --- a/src/compiler/AST.h	Sat Dec 22 23:18:57 2012 -0800
     1.2 +++ b/src/compiler/AST.h	Mon Dec 24 02:49:20 2012 -0800
     1.3 @@ -332,18 +332,18 @@
     1.4  
     1.5  class StringLiteral : public Expression
     1.6  {
     1.7 -    ScopedRoot<ByteArray> string_;
     1.8 +    ScopedRoot<String> string_;
     1.9  
    1.10    public:
    1.11 -    StringLiteral(const SourcePosition &pos, ByteArray *array)
    1.12 +    StringLiteral(const SourcePosition &pos, String *string)
    1.13        : Expression(pos),
    1.14 -        string_(array)
    1.15 +        string_(string)
    1.16      {
    1.17      }
    1.18  
    1.19      DECLARE_NODE(StringLiteral);
    1.20  
    1.21 -    ByteArray *string() const {
    1.22 +    String *string() const {
    1.23          return string_;
    1.24      }
    1.25  };