rustc: Max/min classes: Add struct literal syntax

This commit is contained in:
Patrick Walton 2012-07-23 16:39:18 -07:00
parent ee2abc1cae
commit df4db83ed8
9 changed files with 98 additions and 43 deletions

View file

@ -343,6 +343,11 @@ enum expr_ {
expr_assert(@expr),
expr_mac(mac),
// A struct literal expression.
//
// XXX: Add functional record update.
expr_struct(@path, ~[field])
}
#[auto_serialize]