rustc: Max/min classes: Add struct literal syntax
This commit is contained in:
parent
ee2abc1cae
commit
df4db83ed8
9 changed files with 98 additions and 43 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue