diff options
| author | aarne <unknown> | 2004-03-24 15:31:38 +0000 |
|---|---|---|
| committer | aarne <unknown> | 2004-03-24 15:31:38 +0000 |
| commit | 2433403b6247022ac56133ca935307868fcef6b9 (patch) | |
| tree | a53994e4d7dd1a253171c4d78f13ef8ffe3a0ee4 /src/GF/CF | |
| parent | dc71ffcf5bae1f2b91467de273c71e7c3294acb3 (diff) | |
Making cf2gf to work...
Diffstat (limited to 'src/GF/CF')
| -rw-r--r-- | src/GF/CF/PPrCF.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/CF/PPrCF.hs b/src/GF/CF/PPrCF.hs index 91ab240ea..6712c45f3 100644 --- a/src/GF/CF/PPrCF.hs +++ b/src/GF/CF/PPrCF.hs @@ -55,7 +55,7 @@ getCFRule mo s = getcf (wrds s) where fun : cat : _ : its = words s mkIt ('"':w@(_:_)) = atomCFTerm (string2CFTok (init w)) mkIt w = CFNonterm (string2CFCat mo w) - getcf _ = Bad "invalid rule" + getcf _ = Bad (" invalid rule:" +++ s) wrds = takeWhile (/= ";") . words -- to permit semicolon in the end pCF :: String -> String -> Err CF |
