summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2010-06-29 09:00:41 +0000
committerkrasimir <krasimir@chalmers.se>2010-06-29 09:00:41 +0000
commit272dcf69176234c0f032a8442ce4e7b449426bfd (patch)
tree2622624af219ccd9e17acfe3cdef03cd75efcca3 /src/compiler
parent88d7631b62fd004ac4d84d37cc94a133f0776f60 (diff)
introduce the type synonym Token=String in the PGF API
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/GF/Speech/CFG.hs1
-rw-r--r--src/compiler/GF/Speech/SRGS_XML.hs2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/GF/Speech/CFG.hs b/src/compiler/GF/Speech/CFG.hs
index 9ec8416c5..f396faace 100644
--- a/src/compiler/GF/Speech/CFG.hs
+++ b/src/compiler/GF/Speech/CFG.hs
@@ -27,7 +27,6 @@ import qualified Data.Set as Set
--
type Cat = String
-type Token = String
data Symbol c t = NonTerminal c | Terminal t
deriving (Eq, Ord, Show)
diff --git a/src/compiler/GF/Speech/SRGS_XML.hs b/src/compiler/GF/Speech/SRGS_XML.hs
index 1f94de66d..5f3579406 100644
--- a/src/compiler/GF/Speech/SRGS_XML.hs
+++ b/src/compiler/GF/Speech/SRGS_XML.hs
@@ -13,7 +13,7 @@ import GF.Speech.CFG
import GF.Speech.RegExp
import GF.Speech.SISR as SISR
import GF.Speech.SRG
-import PGF (PGF, CId)
+import PGF (PGF, CId, Token)
import Control.Monad
import Data.Char (toUpper,toLower)