diff options
| author | Graydon Hoare <[email protected]> | 2010-06-30 15:12:42 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-06-30 15:12:42 -0700 |
| commit | b450838c46150ac381719fd0093a71b6efe2b21e (patch) | |
| tree | f5672d8a6a3f02aba9c72fd28597dfc72f887c4b /src/boot/fe | |
| parent | Add support for parsing COMP_deref lval components (*foo). (diff) | |
| download | rust-b450838c46150ac381719fd0093a71b6efe2b21e.tar.xz rust-b450838c46150ac381719fd0093a71b6efe2b21e.zip | |
Fix recently-broken lval formatter.
Diffstat (limited to 'src/boot/fe')
| -rw-r--r-- | src/boot/fe/ast.ml | 2 |
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 "*"; |