summaryrefslogtreecommitdiff
path: root/src/GF/Formalism/FCFG.hs
diff options
context:
space:
mode:
authorbjorn <bjorn@bringert.net>2008-02-05 14:33:22 +0000
committerbjorn <bjorn@bringert.net>2008-02-05 14:33:22 +0000
commitef50209983b9d7778e4421a92bb5bd7155560566 (patch)
tree1a4f517618af7352d7a45b2ce5f505e751fbc5a2 /src/GF/Formalism/FCFG.hs
parent9b104373e6092a12bf22eb84c802019ad2c39dcd (diff)
Expand higher-order abstract syntax in SimpleToFCFG.
Diffstat (limited to 'src/GF/Formalism/FCFG.hs')
-rw-r--r--src/GF/Formalism/FCFG.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/GF/Formalism/FCFG.hs b/src/GF/Formalism/FCFG.hs
index a630b4230..5f9656658 100644
--- a/src/GF/Formalism/FCFG.hs
+++ b/src/GF/Formalism/FCFG.hs
@@ -16,7 +16,7 @@ module GF.Formalism.FCFG
, FPath
, FCat
- , fcatString, fcatInt, fcatFloat
+ , fcatString, fcatInt, fcatFloat, fcatVar
-- * Symbol
, FIndex
@@ -52,10 +52,12 @@ type FToken = String
type FPath = [FIndex]
type FCat = Int
-fcatString, fcatInt, fcatFloat :: Int
+fcatString, fcatInt, fcatFloat, fcatVar :: Int
fcatString = (-1)
fcatInt = (-2)
fcatFloat = (-3)
+fcatVar = (-4)
+
------------------------------------------------------------
-- Symbol