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

« back to all changes in this revision

Viewing changes to lib/megaco/src/text/megaco_text_gen_v2.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:
1503
1503
enc_tid_component(Invalid, _State) ->
1504
1504
    error({invalid_id_list_component, Invalid}).
1505
1505
 
1506
 
enc_tid_sub_component(Sub, _State) ->
1507
 
    case Sub of
1508
 
        all    -> ?megaco_all;
1509
 
        choose -> ?megaco_choose;
1510
 
        Char when is_integer(Char) -> Char
1511
 
    end.
 
1506
enc_tid_sub_component(all = _Sub, _State) ->
 
1507
    ?megaco_all;
 
1508
enc_tid_sub_component(choose = _Sub, _State) ->
 
1509
    ?megaco_choose;
 
1510
enc_tid_sub_component(Char, _State) when is_integer(Char) ->
 
1511
    Char;
 
1512
enc_tid_sub_component(Invalid, _State) ->
 
1513
    error({invalid_id_list_sub_component, Invalid}).
 
1514
 
 
1515
%% enc_tid_sub_component(Sub, _State) ->
 
1516
%%     case Sub of
 
1517
%%      all    -> ?megaco_all;
 
1518
%%      choose -> ?megaco_choose;
 
1519
%%      Char when is_integer(Char) -> Char
 
1520
%%     end.
1512
1521
 
1513
1522
%% mediaDescriptor      = MediaToken LBRKT mediaParm *(COMMA mediaParm) RBRKT
1514
1523
%% ; at-most-once per item