diff options
| author | Rafael Ávila de Espíndola <[email protected]> | 2011-01-27 15:25:07 -0500 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <[email protected]> | 2011-01-27 15:27:56 -0500 |
| commit | 5066937f108cf364cb31bdd517bf3d984ecec73d (patch) | |
| tree | d04e5f00286ef90700ee39a71932c8e255664cbc /src/comp/front/ast.rs | |
| parent | Fix documentation: aliases may not be used in loop constructs. (diff) | |
| download | rust-5066937f108cf364cb31bdd517bf3d984ecec73d.tar.xz rust-5066937f108cf364cb31bdd517bf3d984ecec73d.zip | |
First step for supporting "case (foo.bar(?zed))": Change the ast of
pat_tag to hold a path.
Diffstat (limited to 'src/comp/front/ast.rs')
| -rw-r--r-- | src/comp/front/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index bdd6fa07..2ae4c907 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -55,7 +55,7 @@ type pat = spanned[pat_]; tag pat_ { pat_wild(ann); pat_bind(ident, def_id, ann); - pat_tag(ident, vec[@pat], option.t[variant_def], ann); + pat_tag(path, vec[@pat], option.t[variant_def], ann); } tag mutability { |