~rdoering/ubuntu/intrepid/erlang/fix-535090

« back to all changes in this revision

Viewing changes to lib/ic/src/ic_code.erl

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2007-05-01 16:57:10 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20070501165710-2sapk0hp2gf3o0ip
Tags: 1:11.b.4-2ubuntu1
* Merge with Debian Unstable. Remaining changes:
  - Add -fno-stack-protector to fix broken crypto_drv.
* DebianMaintainerField update.

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
                c_client ->
166
166
                    ic_codegen:emit(Fd, "#include \"~s.h\"\n", [File]);
167
167
                c_server ->
168
 
                    ic_codegen:emit(Fd, "#include \"~s__s.h\"\n", [File]);
169
 
                _ ->
170
 
                    ok
 
168
                    ic_codegen:emit(Fd, "#include \"~s__s.h\"\n", [File])
171
169
            end,
172
170
            gen_includes_loop(Fd,Is,Type)
173
171
    end.
214
212
        true ->
215
213
            ic_codegen:emit(Fd,"%%~n",[]),
216
214
            RaisesList=["%% Raises: " ++ 
217
 
                        mk_list(lists:map({ic_util, to_colon}, X#op.raises))],
 
215
                        mk_list(lists:map(fun(E) -> ic_util:to_colon(E) end, 
 
216
                                          X#op.raises))],
218
217
            ic_codegen:emit(Fd,RaisesList,[]),
219
218
            ic_codegen:nl(Fd)
220
219
    end,