From 244307ca3765c784cf3cb7d572eb08751a2ba74c Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 27 May 2004 08:28:43 +0000 Subject: MyParser: hook for external parser --- src/GF/UseGrammar/Custom.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/GF/UseGrammar/Custom.hs') 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: -- cgit v1.2.3