diff options
author | Jürg Billeter <j@bitron.ch> | 2008-10-25 07:04:11 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2008-10-25 07:04:11 +0000 |
commit | 7f5ffccd5ec6ee1d44da441db33614c5edede581 (patch) | |
tree | eed021953cb3ded8e275df42bd47b51a00d83f8f /compiler | |
parent | 9c188eb0543f61393417d038d11e11d2d2483b77 (diff) | |
download | vala-7f5ffccd5ec6ee1d44da441db33614c5edede581.tar.gz |
Remove non-working support for conditional compilation
2008-10-25 Jürg Billeter <j@bitron.ch>
* vala/valacodecontext.vala:
* compiler/valacompiler.vala:
Remove non-working support for conditional compilation
svn path=/trunk/; revision=1911
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/valacompiler.vala | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala index 80c40cd54..5b878e371 100644 --- a/compiler/valacompiler.vala +++ b/compiler/valacompiler.vala @@ -49,8 +49,6 @@ class Vala.Compiler { [NoArrayLength] static string[] cc_options; static bool save_temps; - [NoArrayLength] - static string[] defines; static bool quiet_mode; private CodeContext context; @@ -67,7 +65,6 @@ class Vala.Compiler { { "output", 'o', 0, OptionArg.FILENAME, ref output, "Place output in file FILE", "FILE" }, { "debug", 'g', 0, OptionArg.NONE, ref debug, "Produce debug information", null }, { "thread", 0, 0, OptionArg.NONE, ref thread, "Enable multithreading support", null }, - { "define", 'D', 0, OptionArg.STRING_ARRAY, ref defines, "Define SYMBOL", "SYMBOL..." }, { "disable-assert", 0, 0, OptionArg.NONE, ref disable_assert, "Disable assertions", null }, { "disable-checking", 0, 0, OptionArg.NONE, ref disable_checking, "Disable run-time checks", null }, { "disable-non-null", 0, 0, OptionArg.NONE, ref disable_non_null, "Disable non-null types", null }, @@ -182,12 +179,6 @@ class Vala.Compiler { Report.error (null, "This version of valac only supports GLib 2"); } - if (defines != null) { - foreach (string define in defines) { - context.add_define (define); - } - } - context.codegen = new CCodeGenerator (); /* default packages */ |