diff --git a/GHCMod.hs b/GHCMod.hs index 044fb27..1795f2c 100644 --- a/GHCMod.hs +++ b/GHCMod.hs @@ -205,7 +205,7 @@ nonGhcName = do c <- anyChar -- making this func non-empty remove :: Parser String remove = do l1 <- try ghcName <|> return "" l2 <- nonGhcName - ll <- many (do x <- ghcName + ll <- many (do x <- ghcName y <- nonGhcName return $ x ++ y) return $ concat $ l1 : l2 : ll diff --git a/elisp/ghc.el b/elisp/ghc.el index 99caa73..b544b8b 100644 --- a/elisp/ghc.el +++ b/elisp/ghc.el @@ -5,7 +5,7 @@ ;; Author: Kazu Yamamoto ;; Created: Sep 25, 2009 -;; Revised: +;; Revised: ;; Put the following code to your "~/.emacs". ;; diff --git a/ghc-mod.cabal b/ghc-mod.cabal index 5920830..29f4acb 100644 --- a/ghc-mod.cabal +++ b/ghc-mod.cabal @@ -7,12 +7,12 @@ License: BSD3 Homepage: http://www.mew.org/~kazu/ Synopsis: Extracting names from modules Description: "ghc-mod" lists up all installed modules - or extracts names of functions, classes, + or extracts names of functions, classes, and data declarations. "ghc-mod" is a backend for completion on Emacs. Category: Development Cabal-Version: >= 1.2 -Build-Type: Simple +Build-Type: Simple Data-Dir: elisp Data-Files: Makefile ghc.el ghc-func.el ghc-doc.el ghc-comp.el Executable ghc-mod @@ -22,4 +22,3 @@ Executable ghc-mod parsec >= 2.0.0.0, process >= 1.0, haskell-src-exts >= 1.0 -