diff options
| author | Lindsey Kuper <[email protected]> | 2011-05-10 11:55:32 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-05-13 17:35:12 -0700 |
| commit | 6a53e39e710d4a31785015d042cc491692954ab7 (patch) | |
| tree | 892b61fa3fcb7799e10ecba61d54837da4cbdd11 /src/comp/front/parser.rs | |
| parent | Starting on support for anonymous objects. Just syntax so far. (diff) | |
| download | rust-6a53e39e710d4a31785015d042cc491692954ab7.tar.xz rust-6a53e39e710d4a31785015d042cc491692954ab7.zip | |
Correct capitalization of "Option".
Diffstat (limited to 'src/comp/front/parser.rs')
| -rw-r--r-- | src/comp/front/parser.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index f395ea16..cb7435d8 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -795,7 +795,6 @@ fn parse_bottom_expr(parser p) -> @ast::expr { } else { unexpected(p, p.peek()); } - } ex = ast::expr_rec(fields, base, p.get_ann()); @@ -836,9 +835,9 @@ fn parse_bottom_expr(parser p) -> @ast::expr { hi = p.get_hi_pos(); expect(p, token.RBRACE); - // fields and methods may be *additional* or *overriding* fields - // and methods if there's a with_obj, or they may be the *only* - // fields and methods if there's no with_obj. + // fields and methods may be *additional* or *overriding* fields and + // methods if there's a with_obj, or they may be the *only* fields and + // methods if there's no with_obj. // We don't need to pull ".node" out of fields because it's not a // "spanned". |