diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pretty.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pretty.ml b/src/pretty.ml index c3d12f3..1307bdf 100644 --- a/src/pretty.ml +++ b/src/pretty.ml @@ -79,7 +79,7 @@ let binop_str = function | Modulo -> "%" | Land -> "&&" | Lor -> "||" let unop_str = function | PreIncr -> "++." | PostIncr -> ".++" | PreDecr -> "--." | PostDecr -> ".--" - | Ref -> "&" | Deref -> "&" | Not -> "!" | Minus -> "-" | Plus -> "+" + | Ref -> "&" | Deref -> "*" | Not -> "!" | Minus -> "-" | Plus -> "+" let rec var_type_str = function | TVoid -> "void" | TInt -> "int" | TIdent(i) -> i | TPtr(k) -> "*" ^ (var_type_str k) |