b9aa9def85
- removes various fields from various variants in the AST - also update tests not to use this notation
11 lines
135 B
Rust
11 lines
135 B
Rust
enum ast {
|
|
num(uint),
|
|
add(&ast, &ast)
|
|
}
|
|
|
|
fn mk_add_ok(x: &a.ast, y: &a.ast, z: &ast) -> ast/&a {
|
|
add(x, y)
|
|
}
|
|
|
|
fn main() {
|
|
} |