aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-07-08 23:13:24 +0200
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-07-08 23:15:09 +0200
commit52fee346200228d8fa05f1708bb85233f12c7b81 (patch)
tree2cba0870f1b782448f3acd950d9bbb94f3a72942
parent5e5293eb71610290c466e6e123476b89bd7693f3 (diff)
Fixing the printing of unknown locations by adding a newline.
-rw-r--r--lib/pp.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pp.ml b/lib/pp.ml
index f1eb4c059..7f4bc149d 100644
--- a/lib/pp.ml
+++ b/lib/pp.ml
@@ -204,7 +204,7 @@ let pr_loc_pos loc =
int (fst loc) ++ str"-" ++ int (snd loc)
let pr_loc loc =
- if Loc.is_ghost loc then str"<unknown>"
+ if Loc.is_ghost loc then str"<unknown>" ++ fnl ()
else
let fname = loc.Loc.fname in
if CString.equal fname "" then