Skip to content

Commit

Permalink
Properly detect the termination of "let rec"
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris00 committed Jun 15, 2019
1 parent 296bcdc commit af54ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tuareg.el
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ for the interactive mode."
(let-binding-g4 ; 4 groups
(concat "\\_<\\(?:\\(let\\_>" binding-operator-char "?\\)"
"\\(" maybe-infix-ext+attr
"\\)\\(?: +\\(" (if (tuareg-editing-ls3) let-ls3 "rec")
"\\)\\(?: +\\(" (if (tuareg-editing-ls3) let-ls3 "rec\\_>")
"\\)\\)?\\|\\(and" binding-operator-char "?\\)\\)"))
;; group for possible class param
(gclass-gparams
Expand Down

0 comments on commit af54ae9

Please sign in to comment.