aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/front')
-rw-r--r--src/comp/front/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs
index 5af9fa8b..1d3646f4 100644
--- a/src/comp/front/ast.rs
+++ b/src/comp/front/ast.rs
@@ -77,7 +77,7 @@ tag stmt_ {
type decl = spanned[decl_];
tag decl_ {
decl_local(ident, option[@ty], option[@expr]);
- decl_item(name, @item);
+ decl_item(ident, @item);
}
type expr = spanned[expr_];