~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/megaco/src/text/megaco_text_gen_v3.hrl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-08-05 20:54:29 UTC
  • mfrom: (6.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090805205429-pm4pnwew8axraosl
Tags: 1:13.b.1-dfsg-5
* Fixed parentheses in Emacs mode (closes: #536891).
* Removed unnecessary conflicts with erlang-manpages package.
* Added workaround for #475459: disabled threads on sparc architecture.
  This breaks wxErlang, so it's only a temporary solution.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2076
2076
enc_tid_component(Invalid, _State) ->
2077
2077
    error({invalid_id_list_component, Invalid}).
2078
2078
 
2079
 
enc_tid_sub_component(Sub, _State) ->
2080
 
    case Sub of
2081
 
        all    -> ?megaco_all;
2082
 
        choose -> ?megaco_choose;
2083
 
        Char when is_integer(Char) -> Char
2084
 
    end.
 
2079
enc_tid_sub_component(all = _Sub, _State) ->
 
2080
    ?megaco_all;
 
2081
enc_tid_sub_component(choose = _Sub, _State) ->
 
2082
    ?megaco_choose;
 
2083
enc_tid_sub_component(Char, _State) when is_integer(Char) ->
 
2084
    Char;
 
2085
enc_tid_sub_component(Invalid, _State) ->
 
2086
    error({invalid_id_list_sub_component, Invalid}).
 
2087
 
 
2088
%% enc_tid_sub_component(Sub, _State) ->
 
2089
%%     case Sub of
 
2090
%%      all    -> ?megaco_all;
 
2091
%%      choose -> ?megaco_choose;
 
2092
%%      Char when is_integer(Char) -> Char
 
2093
%%     end.
2085
2094
 
2086
2095
%% mediaDescriptor      = MediaToken LBRKT mediaParm *(COMMA mediaParm) RBRKT
2087
2096
%% ; at-most-once per item