aboutsummaryrefslogtreecommitdiff
path: root/toplevel/vernac.ml
diff options
context:
space:
mode:
Diffstat (limited to 'toplevel/vernac.ml')
-rw-r--r--toplevel/vernac.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/toplevel/vernac.ml b/toplevel/vernac.ml
index 1308b7c701..c2342d7937 100644
--- a/toplevel/vernac.ml
+++ b/toplevel/vernac.ml
@@ -106,10 +106,10 @@ let set_formatter_translator() =
let out s b e =
let n = e-b in
if n > 0 then begin
- (match !last with
+ (match !last_char with
'.' -> if s.[b] = '(' then output ch " " 0 1
| _ -> ());
- last := s.[e-1]
+ last_char := s.[e-1]
end;
output ch s b e
in