You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 5176 Reporter:@Chris00 Assigned to:@damiendoligez Status: closed (set by @damiendoligez on 2012-02-03T20:39:19Z) Resolution: fixed Priority: normal Severity: minor Version: 3.13.0+dev Fixed in version: 3.13.0+dev Category: ~DO NOT USE (was: OCaml general) Tags: caml-mode Monitored by:@Chris00
Bug description
Compiling
class gen =
object(self)
inherit Odoc_html.html
end
let () =
Odoc_args.set_doc_generator (Some(new gen :> Odoc_args.doc_generator))
with -annot and asking for a type in Emacs with caml-mode reports the error “Stack overflow in regexp matcher”.
I can't reproduce the problem with 3.12.0, and your code doesn't compile with 3.13.* because of changes in ocamldoc. I really would like to see what kind of .annot file triggers the problem.
I've simplified the regexp further, and it now works on a 4000-line type (20 times your example), but fails on 8000 lines. Emacs regexp optimization is a bit mysterious.
(Pretty much) fixed in trunk [3.13.0] (commit 12119).
Original bug ID: 5176
Reporter: @Chris00
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2012-02-03T20:39:19Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.13.0+dev
Fixed in version: 3.13.0+dev
Category: ~DO NOT USE (was: OCaml general)
Tags: caml-mode
Monitored by: @Chris00
Bug description
Compiling
class gen =
object(self)
inherit Odoc_html.html
end
let () =
Odoc_args.set_doc_generator (Some(new gen :> Odoc_args.doc_generator))
with -annot and asking for a type in Emacs with caml-mode reports the error “Stack overflow in regexp matcher”.
File attachments
The text was updated successfully, but these errors were encountered: