From c8e59012757665649125a218416283d416e36547 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 31 Jul 2018 23:59:08 +0300 Subject: number field --- src/grammar/expressions.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/grammar') 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 { // test field_expr // fn foo() { -// x.foo.bar; +// x.foo; +// x.0.bar; // } fn field_expr(p: &mut Parser, lhs: CompletedMarker) -> CompletedMarker { assert!(p.at(DOT) && (p.nth(1) == IDENT || p.nth(1) == INT_NUMBER)); -- cgit v1.2.3