Skip to content
Snippets Groups Projects
Commit 2c7c0d82 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1997-11-25 10:27:46 by simonm]

change -i semantics to match GHC.
parent 71c15e1e
No related merge requests found
......@@ -240,8 +240,10 @@ sub mangle_command_line_args {
} elsif ( /^-D(.*)/ ) { # recognized wherever they occur
push(@Defines, $_);
} elsif ( /^-i(.*)/ ) { # ditto
$Import_dirs .= ":$1";
} elsif ( /^-i$/ ) {
$Import_dirs = ''; # import path cleared!
} elsif ( /^-i(.*)/ ) {
$Import_dirs = "$1:$Import_dirs";
} elsif ( /^-I/ ) {
$Include_dirs .= " $_";
} elsif ( /^-syslib$/ ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment