| Index: src/scopes.h
|
| diff --git a/src/scopes.h b/src/scopes.h
|
| index 4990fab994574a9fb9fbb27814ba93faf3ad5c86..97606a745bf563dc9e152071edb69e2f4a2dd85d 100644
|
| --- a/src/scopes.h
|
| +++ b/src/scopes.h
|
| @@ -246,6 +246,10 @@ class Scope: public ZoneObject {
|
| // for (let x ...) stmt
|
| // start position: start position of '('
|
| // end position: end position of last token of 'stmt'
|
| + // * For the scope of a switch statement
|
| + // switch (tag) { cases }
|
| + // start position: start position of '{'
|
| + // end position: end position of '}'
|
| int start_position() const { return start_position_; }
|
| void set_start_position(int statement_pos) {
|
| start_position_ = statement_pos;
|
|
|