From 62b04f399cd271f2e1eed783f63e31727f4ddc65 Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 12 Jun 2008 14:36:03 +0000 Subject: added command ps -stringop, with stringop being (un)lexer defined in Lexing --- src-3.0/GF/Command/Abstract.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src-3.0/GF/Command/Abstract.hs') diff --git a/src-3.0/GF/Command/Abstract.hs b/src-3.0/GF/Command/Abstract.hs index 1f72688a0..31858a1f9 100644 --- a/src-3.0/GF/Command/Abstract.hs +++ b/src-3.0/GF/Command/Abstract.hs @@ -46,3 +46,8 @@ valOpts flag def opts = case lookup flag flags of isOpt :: String -> [Option] -> Bool isOpt o opts = elem o [x | OOpt x <- opts] + +prOpt :: Option -> String +prOpt (OOpt i) = i ---- + + -- cgit v1.2.3