Permalink
Browse files

Fixed bug with verbatim within nested comments

  • Loading branch information...
1 parent 21916c6 commit a9f0c6e230b088d66265b56339fe7f64e434038f @AltGr AltGr committed Mar 25, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/indentBlock.ml
View
@@ -1008,7 +1008,8 @@ let rec update_path config t stream tok =
| COMMENTCONT ->
(match unwind ((=) KCodeInComment) t.path with
| _::p -> p
- | [] -> unwind (function KComment _ -> true | _ -> false) t.path)
+ | [] -> unwind (function KComment _ -> true | _ -> false)
+ (parent t0.path))
| COMMENT | EOF_IN_COMMENT ->
let s = tok.substr in

0 comments on commit a9f0c6e

Please sign in to comment.