cvs commit: hugs98/docs hugs.1.in hugs98/src connect.h hugs.c
machdep.c options.h.in server.c hugs98/src/bcc32 config.h options.h
hugs98/src/djgpp2 config.h options.h hugs98/src/epoc config.h options.h
hugs98/src/machugs config.h options.h ...
ross@glass.cse.ogi.edu
ross@glass.cse.ogi.edu
Fri, 13 Sep 2002 08:08:08 -0700
ross 2002/09/13 08:08:08 PDT
Modified files:
docs hugs.1.in
src connect.h hugs.c machdep.c options.h.in
server.c
src/bcc32 config.h options.h
src/djgpp2 config.h options.h
src/epoc config.h options.h
src/machugs config.h options.h
src/msc config.h options.h
src/unix acconfig.h configure.in
src/winhugs config.h options.h
Log:
Make the set of suffixes for Haskell modules user-configurable via
a -S option, analogous to -P for search paths. For example, with the
invocation
hugs -S:.y:.ly
the suffix list becomes .hs:.lhs:.y:.ly and when importing a module Foo
it tries Foo.hs, Foo.lhs, Foo.y and Foo.ly. It is useful in conjunction
with the preprocessor option: the preprocessor can use the suffix to
decide how to turn the file into Haskell. Perhaps there are other uses.
Revision Changes Path
1.2 +9 -1 hugs98/docs/hugs.1.in
1.46 +3 -2 hugs98/src/connect.h
1.92 +25 -3 hugs98/src/hugs.c
1.67 +21 -12 hugs98/src/machdep.c
1.9 +9 -2 hugs98/src/options.h.in
1.20 +6 -2 hugs98/src/server.c
1.3 +1 -0 hugs98/src/bcc32/config.h
1.7 +9 -2 hugs98/src/bcc32/options.h
1.3 +1 -0 hugs98/src/djgpp2/config.h
1.7 +9 -2 hugs98/src/djgpp2/options.h
1.3 +1 -0 hugs98/src/epoc/config.h
1.5 +9 -2 hugs98/src/epoc/options.h
1.3 +1 -0 hugs98/src/machugs/config.h
1.6 +9 -2 hugs98/src/machugs/options.h
1.12 +1 -0 hugs98/src/msc/config.h
1.8 +9 -2 hugs98/src/msc/options.h
1.7 +1 -0 hugs98/src/unix/acconfig.h
1.39 +5 -0 hugs98/src/unix/configure.in
1.9 +1 -0 hugs98/src/winhugs/config.h
1.4 +9 -2 hugs98/src/winhugs/options.h