Changeset 7854
- Timestamp:
- 11/05/05 21:27:53 (3 years ago)
- Location:
- src/Pugs
- Files:
-
- 2 modified
-
Prim/Match.hs (modified) (1 diff)
-
Types.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Prim/Match.hs
r7579 r7854 30 30 rv <- tryIO Nothing $ fmap Just (readIO $ decodeUTF8 pge) 31 31 let matchToVal PGE_Fail = VMatch mkMatchFail 32 matchToVal (PGE_String str) = VStr str 32 33 matchToVal (PGE_Array ms) = VList (map matchToVal ms) 33 34 matchToVal (PGE_Match from to pos named) = VMatch $ -
src/Pugs/Types.hs
r7190 r7854 153 153 = PGE_Match !Int !Int ![MatchPGE] ![(VStr, MatchPGE)] 154 154 | PGE_Array ![MatchPGE] 155 | PGE_String !String 155 156 | PGE_Fail 156 157 deriving (Show, Eq, Ord, Read, Typeable)
