Changeset 7879 for src/Pugs/Prim/Match.hs
- Timestamp:
- 11/06/05 18:07:27 (3 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Prim/Match.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Prim/Match.hs
r7861 r7879 15 15 16 16 doMatch :: String -> VRule -> Eval VMatch 17 -- Work around PGE bug on Parrot 0.3.1 -- empty rule matches automatically18 doMatch _ MkRulePGE{ rxRule = "" } = return $ mkMatchOk 0 0 "" [] Map.empty17 -- Work around PGE bug on Parrot 0.3.1 -- empty rules are errors 18 doMatch _ MkRulePGE{ rxRule = "" } = fail "Null patterns are invalid; use <?null> or an empty string instead" 19 19 doMatch cs MkRulePGE{ rxRule = re } = do 20 20 let pwd1 = getConfig "installarchlib" ++ "/CORE/pugs/pge"
