diff options
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 |
