summaryrefslogtreecommitdiff
path: root/src/GF/UseGrammar/Custom.hs
diff options
context:
space:
mode:
authoraarne <unknown>2004-05-27 08:28:43 +0000
committeraarne <unknown>2004-05-27 08:28:43 +0000
commit244307ca3765c784cf3cb7d572eb08751a2ba74c (patch)
tree39e133febbdbcd7a06eff083fbc26446542500cd /src/GF/UseGrammar/Custom.hs
parenta4c388374f402121cdab3a9379e405501afe29a8 (diff)
MyParser: hook for external parser
Diffstat (limited to 'src/GF/UseGrammar/Custom.hs')
-rw-r--r--src/GF/UseGrammar/Custom.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/GF/UseGrammar/Custom.hs b/src/GF/UseGrammar/Custom.hs
index e5e59fc05..952f6dc07 100644
--- a/src/GF/UseGrammar/Custom.hs
+++ b/src/GF/UseGrammar/Custom.hs
@@ -44,6 +44,8 @@ import NewerChartParser
-- see also customGrammarPrinter
import qualified ConvertGrammar as Cnv
+import MyParser
+
import MoreCustom -- either small/ or big/. The one in Small is empty.
import UseIO
@@ -257,6 +259,7 @@ customParser =
customData "Parsers, selected by option -parser=x" $
[
(strCI "chart", chartParser . stateCF)
+ ,(strCI "myparser", myParser)
-- add your own parsers here
]
-- 21/5-04, peb: