diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/grammar/expressions.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/grammar/expressions.rs b/src/grammar/expressions.rs index 00a0ec953..e2be13a77 100644 --- a/src/grammar/expressions.rs +++ b/src/grammar/expressions.rs | |||
@@ -210,7 +210,8 @@ fn method_call_expr(p: &mut Parser, lhs: CompletedMarker) -> CompletedMarker { | |||
210 | 210 | ||
211 | // test field_expr | 211 | // test field_expr |
212 | // fn foo() { | 212 | // fn foo() { |
213 | // x.foo.bar; | 213 | // x.foo; |
214 | // x.0.bar; | ||
214 | // } | 215 | // } |
215 | fn field_expr(p: &mut Parser, lhs: CompletedMarker) -> CompletedMarker { | 216 | fn field_expr(p: &mut Parser, lhs: CompletedMarker) -> CompletedMarker { |
216 | assert!(p.at(DOT) && (p.nth(1) == IDENT || p.nth(1) == INT_NUMBER)); | 217 | assert!(p.at(DOT) && (p.nth(1) == IDENT || p.nth(1) == INT_NUMBER)); |