aboutsummaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-06-30 15:12:42 -0700
committerGraydon Hoare <[email protected]>2010-06-30 15:12:42 -0700
commitb450838c46150ac381719fd0093a71b6efe2b21e (patch)
treef5672d8a6a3f02aba9c72fd28597dfc72f887c4b /src/boot
parentAdd support for parsing COMP_deref lval components (*foo). (diff)
downloadrust-b450838c46150ac381719fd0093a71b6efe2b21e.tar.xz
rust-b450838c46150ac381719fd0093a71b6efe2b21e.zip
Fix recently-broken lval formatter.
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/fe/ast.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/boot/fe/ast.ml b/src/boot/fe/ast.ml
index 7edfd432..b33db3a7 100644
--- a/src/boot/fe/ast.ml
+++ b/src/boot/fe/ast.ml
@@ -874,6 +874,8 @@ and fmt_lval (ff:Format.formatter) (l:lval) : unit =
fmt ff ".";
fmt_name_component ff nc
| COMP_atom a ->
+ fmt_lval ff lv;
+ fmt ff ".";
fmt_bracketed "(" ")" fmt_atom ff a;
| COMP_deref ->
fmt ff "*";