| Index: frog/parser.dart
|
| diff --git a/frog/parser.dart b/frog/parser.dart
|
| index 7c57cec3491e6019529871b7d4227c5073fbe209..7f2b246ac61f7a77486ae45c4806d9f650bc41d3 100644
|
| --- a/frog/parser.dart
|
| +++ b/frog/parser.dart
|
| @@ -1094,6 +1094,8 @@ class Parser {
|
| if (_maybeEat(TokenKind.LBRACE)) {
|
| lits.add(expression());
|
| _eat(TokenKind.RBRACE);
|
| + } else if (_maybeEat(TokenKind.THIS)) {
|
| + lits.add(new ThisExpression(_previousToken.span));
|
| } else {
|
| var id = identifier();
|
| lits.add(new VarExpression(id, id.span));
|
|
|