Changeset 3442
- Timestamp:
- 05/19/05 17:55:30 (4 years ago)
- svk:copy_cache_prev:
- 5016
- Files:
-
- 1 modified
-
src/Pugs/Pretty.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Pretty.hs
r3320 r3442 113 113 format (VCode _) = text "sub {...}" 114 114 format (VBlock _) = text "{...}" 115 format (VError x y@(NonTerm _)) = 116 text "*** Error:" <+> (text x <+> (text "at" <+> format y)) 115 format (VError x y@(NonTerm _)) 116 -- Is this correct? Does this work on win32, too? 117 | last x == '\n' = text . init $ x 118 | otherwise = text "*** Error:" <+> (text x <+> (text "at" <+> format y)) 117 119 format (VError x _) = text "*** Error:" <+> text x 118 120 -- format (VArray x) = format (VList $ Array.elems x)
