summaryrefslogtreecommitdiff
path: root/src/GF/API/MyParser.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/API/MyParser.hs')
-rw-r--r--src/GF/API/MyParser.hs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/GF/API/MyParser.hs b/src/GF/API/MyParser.hs
index 60f5541ce..c45f30c3d 100644
--- a/src/GF/API/MyParser.hs
+++ b/src/GF/API/MyParser.hs
@@ -9,18 +9,16 @@
-- > CVS $Author $
-- > CVS $Revision $
--
--- (Description of the module)
+-- template to define your own parser
-----------------------------------------------------------------------------
-module MyParser where
+module MyParser (myParser) where
import ShellState
import CFIdent
import CF
import Operations
--- template to define your own parser
-
-- type CFParser = [CFTok] -> ([(CFTree,[CFTok])],String)
myParser :: StateGrammar -> CFCat -> CFParser