diff options
| author | krasimir <krasimir@chalmers.se> | 2009-05-23 21:33:52 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2009-05-23 21:33:52 +0000 |
| commit | e5c8636a5f608af83d918e62533306cf7ddc7118 (patch) | |
| tree | 813d9b452133b4283de850bd1d634f76678f46b8 /src/GF/Command/Parse.hs | |
| parent | 41b263cf6aa38e7c6ef090c0fa18949b86eec62c (diff) | |
now in the command shell the primary type in the pipe is Expr not Tree. This makes the pt -compute and pt -typecheck more interesting
Diffstat (limited to 'src/GF/Command/Parse.hs')
| -rw-r--r-- | src/GF/Command/Parse.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Command/Parse.hs b/src/GF/Command/Parse.hs index 3417baff9..35abf1b7b 100644 --- a/src/GF/Command/Parse.hs +++ b/src/GF/Command/Parse.hs @@ -51,7 +51,7 @@ pFilename = liftM2 (:) (RP.satisfy isFileFirst) (RP.munch (not . isSpace)) where pArgument = RP.option ANoArg - (fmap ATree (pTree False) + (fmap AExpr pExpr RP.<++ (RP.munch isSpace >> RP.char '%' >> fmap AMacro pIdent)) |
