logo       

[ ghc-Bugs-1015205 ] ghc-split fails to quote path when used as regex: msg#00003

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1015205 ] ghc-split fails to quote path when used as regex

Bugs item #1015205, was opened at 2004-08-24 12:41
Message generated for change (Comment added) made by simonmar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1015205&group_id=8032

Category: Driver
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Peter Strand (pstrand)
>Assigned to: Simon Marlow (simonmar)
Summary: ghc-split fails to quote path when used as regex

Initial Comment:
If the second argument to ghc/driver/split/ghc-split
contains
a backslash and a 'p', for example ...\pe..., the
script fails with an error message:

Can't find unicode character property definition via
main->e or e.pl at unicode/Is/e.pl line 0

The problem can be solved by a
$Tmp_prefix =~ s/\/\\/g;
before it is used as a regexp around line 50 in ghc-split.



----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2004-09-01 10:01

Message:
Logged In: YES
user_id=48280

Applied your fix, thanks.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1015205&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise