Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Handle end-of-file #74

Merged
merged 1 commit into from
Nov 13, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions elisp/haskell-ide-engine.el
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
(delete-region (point-min) (point-max)))
;; json-unknown-keyword when unrecognized keyword is parsed
(json-unknown-keyword
(when haskell-ide-engine-process-handle-invalid-input
(funcall haskell-ide-engine-process-handle-invalid-input))
(delete-region (point-min) (point-max)))
(end-of-file
(when haskell-ide-engine-process-handle-invalid-input
(funcall haskell-ide-engine-process-handle-invalid-input))
(delete-region (point-min) (point-max))))))
Expand Down