diff options
| author | John Clements <clements@racket-lang.org> | 2013-05-07 09:38:48 -0700 |
|---|---|---|
| committer | John Clements <clements@racket-lang.org> | 2013-06-05 12:01:37 -0700 |
| commit | b24b453e4aa63019560fe8894c333fe954a5126f (patch) | |
| tree | 9eaf7ccfc0152783779b49853c5eb0ce4f6513fd /src/libsyntax | |
| parent | d7638f9dba5cef5c4db7b9008196ede4450d8521 (diff) | |
| download | rust-b24b453e4aa63019560fe8894c333fe954a5126f.tar.gz rust-b24b453e4aa63019560fe8894c333fe954a5126f.zip | |
comments & whitespace
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 625bcd4ec9c..42afe892de9 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -385,6 +385,7 @@ pub type stmt = spanned<stmt_>; #[deriving(Eq, Encodable, Decodable)] pub enum stmt_ { + // could be an item or a local (let) binding: stmt_decl(@decl, node_id), // expr without trailing semi-colon (must have unit type): @@ -414,7 +415,9 @@ pub type decl = spanned<decl_>; #[deriving(Eq, Encodable, Decodable)] pub enum decl_ { + // a local (let) binding: decl_local(@local), + // an item binding: decl_item(@item), } |
