[project @ 2002-02-13 10:39:36 by simonpj]
authorsimonpj <unknown>
Wed, 13 Feb 2002 10:39:36 +0000 (10:39 +0000)
committersimonpj <unknown>
Wed, 13 Feb 2002 10:39:36 +0000 (10:39 +0000)
commit9b7de002ff5d580adb9777bf2777a425231e0c13
treebe5d59ffaad255f76cc8668ca91472faa56f0464
parente289780ec23a1934f39d214d60705f8f26d1763d
[project @ 2002-02-13 10:39:36 by simonpj]
-------------------------------
dosifyPath before opening files
-------------------------------

If you call
hsc2hs foo/baz

you get the amazing response:

'foo' is not recognized as an internal or external command,
operable program or batch file.

On the other hand
hsc2hs foo\baz

works fine.  Solution: call dosifyPath before opening or writing the file.

Somehow we should make it less easy to trip up when doing file I/O on
Windows.  And provide a library of path-manipulation primitives.
ghc/utils/hsc2hs/Main.hs