diff options
author | Erlang/OTP <[email protected]> | 2010-02-10 10:03:53 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-02-10 11:07:36 +0100 |
commit | fcdb09923b20934123f52814458c065a1dd27cf3 (patch) | |
tree | ca860d3e70df87786a959043bbe6a970f633db96 /lib/compiler/src/compile.erl | |
parent | d115b311ca388145fb1aebf385206c47d3cc9ec1 (diff) | |
parent | a612e99fb5aaa934fe5a8591db0f083d7fa0b20a (diff) | |
download | otp-fcdb09923b20934123f52814458c065a1dd27cf3.tar.gz otp-fcdb09923b20934123f52814458c065a1dd27cf3.tar.bz2 otp-fcdb09923b20934123f52814458c065a1dd27cf3.zip |
Merge branch 'ks/compiler' into ccase/r13b04_dev
* ks/compiler:
compiler: keep line numbers for attributes
compiler Makefile: alphabetize module names
compile.erl: eliminate compiler warning
Diffstat (limited to 'lib/compiler/src/compile.erl')
-rw-r--r-- | lib/compiler/src/compile.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/compile.erl b/lib/compiler/src/compile.erl index d73c9cd762..b853800d73 100644 --- a/lib/compiler/src/compile.erl +++ b/lib/compiler/src/compile.erl @@ -1055,7 +1055,7 @@ test_native(#compile{options=Opts}) -> is_native_enabled([native|_]) -> true; is_native_enabled([no_native|_]) -> false; -is_native_enabled([H|T]) -> is_native_enabled(T); +is_native_enabled([_|Opts]) -> is_native_enabled(Opts); is_native_enabled([]) -> false. native_compile(#compile{code=none}=St) -> {ok,St}; |