1
0
forked from GitHub/gf-core

random gen to fill given term

This commit is contained in:
aarne
2004-04-30 11:28:35 +00:00
parent 93b9023303
commit 926ac1b1e5
8 changed files with 23 additions and 14 deletions

View File

@@ -29,7 +29,7 @@ mkCFTok s = case s of
mkCFTokVar :: String -> CFTok
mkCFTokVar s = case s of
'?':_:_ -> tM s
'?':_:_ -> tM s --- "?" --- compat with prCF
'x':'_':_ -> tV s
'x':[] -> tV s
'$':xs@(_:_) -> if last s == '$' then tV (init xs) else tS s