mirror of https://github.com/aamine/cbc
r4852@macbookpro: aamine | 2009-05-17 16:19:18 +0900
* net/loveruby/cflat/compiler/Options.java: cbc --dump-* did not work. git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4216 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
parent
3ddae38cb1
commit
9ebdc8c35a
|
@ -1,3 +1,8 @@
|
|||
Sun May 17 16:18:08 2009 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* net/loveruby/cflat/compiler/Options.java: cbc --dump-* did not
|
||||
work.
|
||||
|
||||
Sat May 16 18:10:31 2009 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* net/loveruby/cflat/sysdep/x86/CodeGenerator.java: fix typo.
|
||||
|
|
|
@ -18,7 +18,7 @@ class Options {
|
|||
return opts;
|
||||
}
|
||||
|
||||
private CompilerMode mode = CompilerMode.Link;
|
||||
private CompilerMode mode;
|
||||
private Platform platform = new X86Linux();
|
||||
private String outputFileName;
|
||||
private boolean verbose = false;
|
||||
|
@ -255,6 +255,9 @@ class Options {
|
|||
ldArgs.add(new SourceFile(args.next()));
|
||||
}
|
||||
|
||||
if (mode == null) {
|
||||
mode = CompilerMode.Link;
|
||||
}
|
||||
sourceFiles = selectSourceFiles(ldArgs);
|
||||
if (sourceFiles.isEmpty()) {
|
||||
parseError("no input file");
|
||||
|
|
Loading…
Reference in New Issue