| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index ad6aad3f3f64b6f6b1627e1fb39646ec9a55dd8d..416d1444c4dc8f44dec1abecc057ab8464b15ac6 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -233,9 +233,9 @@ RegExpUnparser::RegExpUnparser() : stream_(&alloc_) {
|
|
|
| void* RegExpUnparser::VisitDisjunction(RegExpDisjunction* that, void* data) {
|
| stream()->Add("(|");
|
| - for (int i = 0; i < that->nodes()->length(); i++) {
|
| + for (int i = 0; i < that->alternatives()->length(); i++) {
|
| stream()->Add(" ");
|
| - that->nodes()->at(i)->Accept(this, data);
|
| + that->alternatives()->at(i)->Accept(this, data);
|
| }
|
| stream()->Add(")");
|
| return NULL;
|
|
|