diff options
| author | aarne <unknown> | 2005-02-05 20:52:31 +0000 |
|---|---|---|
| committer | aarne <unknown> | 2005-02-05 20:52:31 +0000 |
| commit | a1e8229910bbd01135d0e71c459872f87785a291 (patch) | |
| tree | 16612ffa6d974da1fb8e4234f134e5f97c0ad9af /src/GF/Canon/CMacros.hs | |
| parent | 45f3b7d5e74dde250a3e0eb92469efc22479cd30 (diff) | |
cleand up Structural
Diffstat (limited to 'src/GF/Canon/CMacros.hs')
| -rw-r--r-- | src/GF/Canon/CMacros.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GF/Canon/CMacros.hs b/src/GF/Canon/CMacros.hs index d2c128454..8c655179a 100644 --- a/src/GF/Canon/CMacros.hs +++ b/src/GF/Canon/CMacros.hs @@ -9,7 +9,7 @@ -- > CVS $Author $ -- > CVS $Revision $ -- --- (Description of the module) +-- Macros for building and analysing terms in GFC concrete syntax. ----------------------------------------------------------------------------- module CMacros where @@ -226,6 +226,7 @@ wordsInTerm trm = filter (not . null) $ case trm of S c _ -> wo c R rs -> concat [wo t | Ass _ t <- rs] T _ cs -> concat [wo t | Cas _ t <- cs] + V _ cs -> concat [wo t | t <- cs] C s t -> wo s ++ wo t FV ts -> concatMap wo ts K (KP ss vs) -> ss ++ concat [s | Var s _ <- vs] |
