-module(expo_po_parser). -export([parse/1, parse_and_scan/1, format_error/1]). -file("src/expo_po_parser.yrl", 213). extract_simple_token({_Token, _Line, Value}) -> Value. extract_line({_Token, Line}) -> Line; extract_line({_Token, Line, _Value}) -> Line. to_singular_message(Fields, LineNumbers) -> 'Elixir.Kernel':struct( 'Elixir.Expo.Message.Singular', Fields ++ [{'__meta__', #{source_line => maps:from_list(LineNumbers)}}] ). to_plural_message(Fields, LineNumbers) -> 'Elixir.Kernel':struct( 'Elixir.Expo.Message.Plural', Fields ++ [{'__meta__', #{source_line => maps:from_list(LineNumbers)}}] ). split_msgstr(Pluralizations) -> { lists:map(fun({PluralForm, Message, _LineNumber}) -> {PluralForm, Message} end, Pluralizations), lists:map(fun({PluralForm, _Message, LineNumber}) -> {{msgstr, PluralForm}, LineNumber} end, Pluralizations) }. group_meta(MetaFields) -> maps:to_list( % Use maps:groups_from_list when supporting OTP >= 25 exclusively lists:foldr( fun({Key, Value}, Acc) -> maps:update_with(Key, fun(Cur) -> [Value | Cur] end, [Value], Acc) end, #{}, MetaFields ) ). -file("/Users/andrea/.asdf/installs/erlang/25.0/lib/parsetools-2.4/include/yeccpre.hrl", 0). %% %% %CopyrightBegin% %% %% Copyright Ericsson AB 1996-2021. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. %% You may obtain a copy of the License at %% %% http://www.apache.org/licenses/LICENSE-2.0 %% %% Unless required by applicable law or agreed to in writing, software %% distributed under the License is distributed on an "AS IS" BASIS, %% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. %% See the License for the specific language governing permissions and %% limitations under the License. %% %% %CopyrightEnd% %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % The parser generator will insert appropriate declarations before this line.% -type yecc_ret() :: {'error', _} | {'ok', _}. -spec parse(Tokens :: list()) -> yecc_ret(). parse(Tokens) -> yeccpars0(Tokens, {no_func, no_location}, 0, [], []). -spec parse_and_scan({function() | {atom(), atom()}, [_]} | {atom(), atom(), [_]}) -> yecc_ret(). parse_and_scan({F, A}) -> yeccpars0([], {{F, A}, no_location}, 0, [], []); parse_and_scan({M, F, A}) -> Arity = length(A), yeccpars0([], {{fun M:F/Arity, A}, no_location}, 0, [], []). -spec format_error(any()) -> [char() | list()]. format_error(Message) -> case io_lib:deep_char_list(Message) of true -> Message; _ -> io_lib:write(Message) end. %% To be used in grammar files to throw an error message to the parser %% toplevel. Doesn't have to be exported! -compile({nowarn_unused_function, return_error/2}). -spec return_error(erl_anno:location(), any()) -> no_return(). return_error(Location, Message) -> throw({error, {Location, ?MODULE, Message}}). -define(CODE_VERSION, "1.4"). yeccpars0(Tokens, Tzr, State, States, Vstack) -> try yeccpars1(Tokens, Tzr, State, States, Vstack) catch error: Error: Stacktrace -> try yecc_error_type(Error, Stacktrace) of Desc -> erlang:raise(error, {yecc_bug, ?CODE_VERSION, Desc}, Stacktrace) catch _:_ -> erlang:raise(error, Error, Stacktrace) end; %% Probably thrown from return_error/2: throw: {error, {_Location, ?MODULE, _M}} = Error -> Error end. yecc_error_type(function_clause, [{?MODULE,F,ArityOrArgs,_} | _]) -> case atom_to_list(F) of "yeccgoto_" ++ SymbolL -> {ok,[{atom,_,Symbol}],_} = erl_scan:string(SymbolL), State = case ArityOrArgs of [S,_,_,_,_,_,_] -> S; _ -> state_is_unknown end, {Symbol, State, missing_in_goto_table} end. yeccpars1([Token | Tokens], Tzr, State, States, Vstack) -> yeccpars2(State, element(1, Token), States, Vstack, Token, Tokens, Tzr); yeccpars1([], {{F, A},_Location}, State, States, Vstack) -> case apply(F, A) of {ok, Tokens, EndLocation} -> yeccpars1(Tokens, {{F, A}, EndLocation}, State, States, Vstack); {eof, EndLocation} -> yeccpars1([], {no_func, EndLocation}, State, States, Vstack); {error, Descriptor, _EndLocation} -> {error, Descriptor} end; yeccpars1([], {no_func, no_location}, State, States, Vstack) -> Line = 999999, yeccpars2(State, '$end', States, Vstack, yecc_end(Line), [], {no_func, Line}); yeccpars1([], {no_func, EndLocation}, State, States, Vstack) -> yeccpars2(State, '$end', States, Vstack, yecc_end(EndLocation), [], {no_func, EndLocation}). %% yeccpars1/7 is called from generated code. %% %% When using the {includefile, Includefile} option, make sure that %% yeccpars1/7 can be found by parsing the file without following %% include directives. yecc will otherwise assume that an old %% yeccpre.hrl is included (one which defines yeccpars1/5). yeccpars1(State1, State, States, Vstack, Token0, [Token | Tokens], Tzr) -> yeccpars2(State, element(1, Token), [State1 | States], [Token0 | Vstack], Token, Tokens, Tzr); yeccpars1(State1, State, States, Vstack, Token0, [], {{_F,_A}, _Location}=Tzr) -> yeccpars1([], Tzr, State, [State1 | States], [Token0 | Vstack]); yeccpars1(State1, State, States, Vstack, Token0, [], {no_func, no_location}) -> Location = yecctoken_end_location(Token0), yeccpars2(State, '$end', [State1 | States], [Token0 | Vstack], yecc_end(Location), [], {no_func, Location}); yeccpars1(State1, State, States, Vstack, Token0, [], {no_func, Location}) -> yeccpars2(State, '$end', [State1 | States], [Token0 | Vstack], yecc_end(Location), [], {no_func, Location}). %% For internal use only. yecc_end(Location) -> {'$end', Location}. yecctoken_end_location(Token) -> try erl_anno:end_location(element(2, Token)) of undefined -> yecctoken_location(Token); Loc -> Loc catch _:_ -> yecctoken_location(Token) end. -compile({nowarn_unused_function, yeccerror/1}). yeccerror(Token) -> Text = yecctoken_to_string(Token), Location = yecctoken_location(Token), {error, {Location, ?MODULE, ["syntax error before: ", Text]}}. -compile({nowarn_unused_function, yecctoken_to_string/1}). yecctoken_to_string(Token) -> try erl_scan:text(Token) of undefined -> yecctoken2string(Token); Txt -> Txt catch _:_ -> yecctoken2string(Token) end. yecctoken_location(Token) -> try erl_scan:location(Token) catch _:_ -> element(2, Token) end. -compile({nowarn_unused_function, yecctoken2string/1}). yecctoken2string(Token) -> try yecctoken2string1(Token) catch _:_ -> io_lib:format("~tp", [Token]) end. -compile({nowarn_unused_function, yecctoken2string1/1}). yecctoken2string1({atom, _, A}) -> io_lib:write_atom(A); yecctoken2string1({integer,_,N}) -> io_lib:write(N); yecctoken2string1({float,_,F}) -> io_lib:write(F); yecctoken2string1({char,_,C}) -> io_lib:write_char(C); yecctoken2string1({var,_,V}) -> io_lib:format("~s", [V]); yecctoken2string1({string,_,S}) -> io_lib:write_string(S); yecctoken2string1({reserved_symbol, _, A}) -> io_lib:write(A); yecctoken2string1({_Cat, _, Val}) -> io_lib:format("~tp", [Val]); yecctoken2string1({dot, _}) -> "'.'"; yecctoken2string1({'$end', _}) -> []; yecctoken2string1({Other, _}) when is_atom(Other) -> io_lib:write_atom(Other); yecctoken2string1(Other) -> io_lib:format("~tp", [Other]). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -file("src/expo_po_parser.erl", 222). -dialyzer({nowarn_function, yeccpars2/7}). -compile({nowarn_unused_function, yeccpars2/7}). yeccpars2(0=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_0(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(1=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_1(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(2=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_2(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(3=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_3(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(4=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_4(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(5=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_5(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(6=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_6(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(7=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_7(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(8=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_8(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(9=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_9(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(10=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_10(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(11=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_11(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(12=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_12(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(13=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_13(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(14=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_14(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(15=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_15(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(16=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_16(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(17=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_17(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(18=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_18(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(19=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_19(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(20=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_20(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(21=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_21(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(22=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_22(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(23=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_23(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(24=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_24(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(25=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_25(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(26=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_26(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(27=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_27(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(28=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_28(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(29=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_29(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(30=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_30(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(31=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_31(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(32=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_32(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(33=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_33(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(34=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_34(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(35=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_35(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(36=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_36(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(37=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_37(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(38=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_38(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(39=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_39(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(40=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_40(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(41=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_41(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(42=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_42(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(43=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_43(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(44=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_44(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(45=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_45(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(46=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_46(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(47=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_47(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(48=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_48(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(49=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_33(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(50=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_50(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(51=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_51(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(52=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_52(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(53=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_53(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(54=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_54(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(55=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_35(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(56=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_56(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(57=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_57(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(58=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_58(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(59=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_59(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(60=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_60(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(61=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_61(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(62=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_62(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(63=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_63(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(64=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_64(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(65=S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_35(S, Cat, Ss, Stack, T, Ts, Tzr); %% yeccpars2(66=S, Cat, Ss, Stack, T, Ts, Tzr) -> %% yeccpars2_66(S, Cat, Ss, Stack, T, Ts, Tzr); yeccpars2(Other, _, _, _, _, _, _) -> erlang:error({yecc_bug,"1.4",{missing_state_in_action_table, Other}}). -dialyzer({nowarn_function, yeccpars2_0/7}). -compile({nowarn_unused_function, yeccpars2_0/7}). yeccpars2_0(S, 'comment', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 10, Ss, Stack, T, Ts, Tzr); yeccpars2_0(S, 'previous', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 11, Ss, Stack, T, Ts, Tzr); yeccpars2_0(_S, '$end', Ss, Stack, T, Ts, Tzr) -> NewStack = 'yeccpars2_0_$end'(Stack), yeccpars2_9(9, '$end', [0 | Ss], NewStack, T, Ts, Tzr); yeccpars2_0(_S, Cat, Ss, Stack, T, Ts, Tzr) -> NewStack = yeccpars2_0_(Stack), yeccpars2_7(7, Cat, [0 | Ss], NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_1/7}). -compile({nowarn_unused_function, yeccpars2_1/7}). yeccpars2_1(_S, Cat, Ss, Stack, T, Ts, Tzr) -> NewStack = yeccpars2_1_(Stack), yeccgoto_message(hd(Ss), Cat, Ss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_2/7}). -compile({nowarn_unused_function, yeccpars2_2/7}). yeccpars2_2(_S, Cat, Ss, Stack, T, Ts, Tzr) -> NewStack = yeccpars2_2_(Stack), yeccgoto_message(hd(Ss), Cat, Ss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_3/7}). -compile({nowarn_unused_function, yeccpars2_3/7}). yeccpars2_3(_S, Cat, Ss, Stack, T, Ts, Tzr) -> NewStack = yeccpars2_3_(Stack), yeccgoto_grammar(hd(Ss), Cat, Ss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_4/7}). -compile({nowarn_unused_function, yeccpars2_4/7}). yeccpars2_4(_S, Cat, Ss, Stack, T, Ts, Tzr) -> NewStack = yeccpars2_4_(Stack), yeccgoto_message(hd(Ss), Cat, Ss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_5/7}). -compile({nowarn_unused_function, yeccpars2_5/7}). yeccpars2_5(_S, Cat, Ss, Stack, T, Ts, Tzr) -> NewStack = yeccpars2_5_(Stack), yeccgoto_message(hd(Ss), Cat, Ss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_6/7}). -compile({nowarn_unused_function, yeccpars2_6/7}). yeccpars2_6(_S, Cat, Ss, Stack, T, Ts, Tzr) -> NewStack = yeccpars2_6_(Stack), yeccgoto_grammar(hd(Ss), Cat, Ss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_7/7}). -compile({nowarn_unused_function, yeccpars2_7/7}). yeccpars2_7(S, 'msgctxt', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 23, Ss, Stack, T, Ts, Tzr); yeccpars2_7(S, 'msgid', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 24, Ss, Stack, T, Ts, Tzr); yeccpars2_7(S, 'obsolete', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 25, Ss, Stack, T, Ts, Tzr); yeccpars2_7(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_8/7}). -compile({nowarn_unused_function, yeccpars2_8/7}). yeccpars2_8(S, 'comment', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 15, Ss, Stack, T, Ts, Tzr); yeccpars2_8(S, 'previous', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 11, Ss, Stack, T, Ts, Tzr); yeccpars2_8(_S, '$end', Ss, Stack, T, Ts, Tzr) -> NewStack = 'yeccpars2_8_$end'(Stack), yeccgoto_messages(hd(Ss), '$end', Ss, NewStack, T, Ts, Tzr); yeccpars2_8(_S, Cat, Ss, Stack, T, Ts, Tzr) -> NewStack = yeccpars2_8_(Stack), yeccpars2_7(7, Cat, [8 | Ss], NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_9/7}). -compile({nowarn_unused_function, yeccpars2_9/7}). yeccpars2_9(_S, '$end', _Ss, Stack, _T, _Ts, _Tzr) -> {ok, hd(Stack)}; yeccpars2_9(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_10/7}). -compile({nowarn_unused_function, yeccpars2_10/7}). yeccpars2_10(S, 'comment', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 10, Ss, Stack, T, Ts, Tzr); yeccpars2_10(S, 'previous', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 11, Ss, Stack, T, Ts, Tzr); yeccpars2_10(_S, '$end', Ss, Stack, T, Ts, Tzr) -> NewStack = 'yeccpars2_10_$end'(Stack), yeccgoto_only_comments(hd(Ss), '$end', Ss, NewStack, T, Ts, Tzr); yeccpars2_10(_S, Cat, Ss, Stack, T, Ts, Tzr) -> NewStack = yeccpars2_10_(Stack), yeccpars2_20(_S, Cat, [10 | Ss], NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_11/7}). -compile({nowarn_unused_function, yeccpars2_11/7}). yeccpars2_11(S, 'msgid', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 12, Ss, Stack, T, Ts, Tzr); yeccpars2_11(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_12/7}). -compile({nowarn_unused_function, yeccpars2_12/7}). yeccpars2_12(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 13, Ss, Stack, T, Ts, Tzr); yeccpars2_12(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_13/7}). -compile({nowarn_unused_function, yeccpars2_13/7}). yeccpars2_13(S, 'comment', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 15, Ss, Stack, T, Ts, Tzr); yeccpars2_13(S, 'previous', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 16, Ss, Stack, T, Ts, Tzr); yeccpars2_13(_S, Cat, Ss, Stack, T, Ts, Tzr) -> NewStack = yeccpars2_13_(Stack), yeccpars2_14(_S, Cat, [13 | Ss], NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_14/7}). -compile({nowarn_unused_function, yeccpars2_14/7}). yeccpars2_14(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_,_,_|Nss] = Ss, NewStack = yeccpars2_14_(Stack), yeccgoto_message_meta(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_15/7}). -compile({nowarn_unused_function, yeccpars2_15/7}). yeccpars2_15(S, 'comment', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 15, Ss, Stack, T, Ts, Tzr); yeccpars2_15(S, 'previous', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 11, Ss, Stack, T, Ts, Tzr); yeccpars2_15(_S, Cat, Ss, Stack, T, Ts, Tzr) -> NewStack = yeccpars2_15_(Stack), yeccpars2_20(_S, Cat, [15 | Ss], NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_16/7}). -compile({nowarn_unused_function, yeccpars2_16/7}). yeccpars2_16(S, 'msgid', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 12, Ss, Stack, T, Ts, Tzr); yeccpars2_16(S, 'msgid_plural', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 17, Ss, Stack, T, Ts, Tzr); yeccpars2_16(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_17/7}). -compile({nowarn_unused_function, yeccpars2_17/7}). yeccpars2_17(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 18, Ss, Stack, T, Ts, Tzr); yeccpars2_17(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_18/7}). -compile({nowarn_unused_function, yeccpars2_18/7}). yeccpars2_18(S, 'comment', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 15, Ss, Stack, T, Ts, Tzr); yeccpars2_18(S, 'previous', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 11, Ss, Stack, T, Ts, Tzr); yeccpars2_18(_S, Cat, Ss, Stack, T, Ts, Tzr) -> NewStack = yeccpars2_18_(Stack), yeccpars2_19(_S, Cat, [18 | Ss], NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_19/7}). -compile({nowarn_unused_function, yeccpars2_19/7}). yeccpars2_19(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_,_,_,_,_,_|Nss] = Ss, NewStack = yeccpars2_19_(Stack), yeccgoto_message_meta(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_20/7}). -compile({nowarn_unused_function, yeccpars2_20/7}). yeccpars2_20(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_|Nss] = Ss, NewStack = yeccpars2_20_(Stack), yeccgoto_message_meta(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_21/7}). -compile({nowarn_unused_function, yeccpars2_21/7}). yeccpars2_21(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_|Nss] = Ss, NewStack = yeccpars2_21_(Stack), yeccgoto_only_comments(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_22/7}). -compile({nowarn_unused_function, yeccpars2_22/7}). yeccpars2_22(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_|Nss] = Ss, NewStack = yeccpars2_22_(Stack), yeccgoto_messages(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_23/7}). -compile({nowarn_unused_function, yeccpars2_23/7}). yeccpars2_23(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 59, Ss, Stack, T, Ts, Tzr); yeccpars2_23(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_24/7}). -compile({nowarn_unused_function, yeccpars2_24/7}). yeccpars2_24(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 51, Ss, Stack, T, Ts, Tzr); yeccpars2_24(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_25/7}). -compile({nowarn_unused_function, yeccpars2_25/7}). yeccpars2_25(S, 'msgctxt', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 26, Ss, Stack, T, Ts, Tzr); yeccpars2_25(S, 'msgid', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 27, Ss, Stack, T, Ts, Tzr); yeccpars2_25(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_26/7}). -compile({nowarn_unused_function, yeccpars2_26/7}). yeccpars2_26(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 41, Ss, Stack, T, Ts, Tzr); yeccpars2_26(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_27/7}). -compile({nowarn_unused_function, yeccpars2_27/7}). yeccpars2_27(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 28, Ss, Stack, T, Ts, Tzr); yeccpars2_27(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_28/7}). -compile({nowarn_unused_function, yeccpars2_28/7}). yeccpars2_28(S, 'obsolete', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 29, Ss, Stack, T, Ts, Tzr); yeccpars2_28(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_29/7}). -compile({nowarn_unused_function, yeccpars2_29/7}). yeccpars2_29(S, 'msgid_plural', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 30, Ss, Stack, T, Ts, Tzr); yeccpars2_29(S, 'msgstr', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 31, Ss, Stack, T, Ts, Tzr); yeccpars2_29(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_30/7}). -compile({nowarn_unused_function, yeccpars2_30/7}). yeccpars2_30(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 33, Ss, Stack, T, Ts, Tzr); yeccpars2_30(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_31/7}). -compile({nowarn_unused_function, yeccpars2_31/7}). yeccpars2_31(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 32, Ss, Stack, T, Ts, Tzr); yeccpars2_31(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_32/7}). -compile({nowarn_unused_function, yeccpars2_32/7}). yeccpars2_32(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_,_,_,_,_,_|Nss] = Ss, NewStack = yeccpars2_32_(Stack), yeccgoto_obsolete_singular_message(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_33/7}). -compile({nowarn_unused_function, yeccpars2_33/7}). yeccpars2_33(S, 'obsolete', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 35, Ss, Stack, T, Ts, Tzr); yeccpars2_33(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_34/7}). -compile({nowarn_unused_function, yeccpars2_34/7}). yeccpars2_34(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_,_,_,_,_,_,_|Nss] = Ss, NewStack = yeccpars2_34_(Stack), yeccgoto_obsolete_plural_message(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_35/7}). -compile({nowarn_unused_function, yeccpars2_35/7}). yeccpars2_35(S, 'msgstr', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 37, Ss, Stack, T, Ts, Tzr); yeccpars2_35(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_36/7}). -compile({nowarn_unused_function, yeccpars2_36/7}). yeccpars2_36(S, 'obsolete', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 35, Ss, Stack, T, Ts, Tzr); yeccpars2_36(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_|Nss] = Ss, NewStack = yeccpars2_36_(Stack), yeccgoto_obsolete_pluralizations(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_37/7}). -compile({nowarn_unused_function, yeccpars2_37/7}). yeccpars2_37(S, 'plural_form', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 38, Ss, Stack, T, Ts, Tzr); yeccpars2_37(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_38/7}). -compile({nowarn_unused_function, yeccpars2_38/7}). yeccpars2_38(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 39, Ss, Stack, T, Ts, Tzr); yeccpars2_38(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_39/7}). -compile({nowarn_unused_function, yeccpars2_39/7}). yeccpars2_39(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_,_|Nss] = Ss, NewStack = yeccpars2_39_(Stack), yeccgoto_pluralization(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_40/7}). -compile({nowarn_unused_function, yeccpars2_40/7}). yeccpars2_40(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_,_|Nss] = Ss, NewStack = yeccpars2_40_(Stack), yeccgoto_obsolete_pluralizations(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_41/7}). -compile({nowarn_unused_function, yeccpars2_41/7}). yeccpars2_41(S, 'obsolete', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 42, Ss, Stack, T, Ts, Tzr); yeccpars2_41(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_42/7}). -compile({nowarn_unused_function, yeccpars2_42/7}). yeccpars2_42(S, 'msgid', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 43, Ss, Stack, T, Ts, Tzr); yeccpars2_42(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_43/7}). -compile({nowarn_unused_function, yeccpars2_43/7}). yeccpars2_43(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 44, Ss, Stack, T, Ts, Tzr); yeccpars2_43(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_44/7}). -compile({nowarn_unused_function, yeccpars2_44/7}). yeccpars2_44(S, 'obsolete', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 45, Ss, Stack, T, Ts, Tzr); yeccpars2_44(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_45/7}). -compile({nowarn_unused_function, yeccpars2_45/7}). yeccpars2_45(S, 'msgid_plural', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 46, Ss, Stack, T, Ts, Tzr); yeccpars2_45(S, 'msgstr', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 47, Ss, Stack, T, Ts, Tzr); yeccpars2_45(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_46/7}). -compile({nowarn_unused_function, yeccpars2_46/7}). yeccpars2_46(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 49, Ss, Stack, T, Ts, Tzr); yeccpars2_46(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_47/7}). -compile({nowarn_unused_function, yeccpars2_47/7}). yeccpars2_47(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 48, Ss, Stack, T, Ts, Tzr); yeccpars2_47(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_48/7}). -compile({nowarn_unused_function, yeccpars2_48/7}). yeccpars2_48(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_,_,_,_,_,_,_,_,_|Nss] = Ss, NewStack = yeccpars2_48_(Stack), yeccgoto_obsolete_singular_message(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). %% yeccpars2_49: see yeccpars2_33 -dialyzer({nowarn_function, yeccpars2_50/7}). -compile({nowarn_unused_function, yeccpars2_50/7}). yeccpars2_50(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_,_,_,_,_,_,_,_,_,_|Nss] = Ss, NewStack = yeccpars2_50_(Stack), yeccgoto_obsolete_plural_message(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_51/7}). -compile({nowarn_unused_function, yeccpars2_51/7}). yeccpars2_51(S, 'msgid_plural', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 52, Ss, Stack, T, Ts, Tzr); yeccpars2_51(S, 'msgstr', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 53, Ss, Stack, T, Ts, Tzr); yeccpars2_51(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_52/7}). -compile({nowarn_unused_function, yeccpars2_52/7}). yeccpars2_52(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 55, Ss, Stack, T, Ts, Tzr); yeccpars2_52(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_53/7}). -compile({nowarn_unused_function, yeccpars2_53/7}). yeccpars2_53(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 54, Ss, Stack, T, Ts, Tzr); yeccpars2_53(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_54/7}). -compile({nowarn_unused_function, yeccpars2_54/7}). yeccpars2_54(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_,_,_,_|Nss] = Ss, NewStack = yeccpars2_54_(Stack), yeccgoto_singular_message(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). %% yeccpars2_55: see yeccpars2_35 -dialyzer({nowarn_function, yeccpars2_56/7}). -compile({nowarn_unused_function, yeccpars2_56/7}). yeccpars2_56(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_,_,_,_,_|Nss] = Ss, NewStack = yeccpars2_56_(Stack), yeccgoto_plural_message(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_57/7}). -compile({nowarn_unused_function, yeccpars2_57/7}). yeccpars2_57(S, 'msgstr', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 37, Ss, Stack, T, Ts, Tzr); yeccpars2_57(_S, Cat, Ss, Stack, T, Ts, Tzr) -> NewStack = yeccpars2_57_(Stack), yeccgoto_pluralizations(hd(Ss), Cat, Ss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_58/7}). -compile({nowarn_unused_function, yeccpars2_58/7}). yeccpars2_58(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_|Nss] = Ss, NewStack = yeccpars2_58_(Stack), yeccgoto_pluralizations(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccpars2_59/7}). -compile({nowarn_unused_function, yeccpars2_59/7}). yeccpars2_59(S, 'msgid', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 60, Ss, Stack, T, Ts, Tzr); yeccpars2_59(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_60/7}). -compile({nowarn_unused_function, yeccpars2_60/7}). yeccpars2_60(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 61, Ss, Stack, T, Ts, Tzr); yeccpars2_60(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_61/7}). -compile({nowarn_unused_function, yeccpars2_61/7}). yeccpars2_61(S, 'msgid_plural', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 62, Ss, Stack, T, Ts, Tzr); yeccpars2_61(S, 'msgstr', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 63, Ss, Stack, T, Ts, Tzr); yeccpars2_61(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_62/7}). -compile({nowarn_unused_function, yeccpars2_62/7}). yeccpars2_62(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 65, Ss, Stack, T, Ts, Tzr); yeccpars2_62(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_63/7}). -compile({nowarn_unused_function, yeccpars2_63/7}). yeccpars2_63(S, 'str_lines', Ss, Stack, T, Ts, Tzr) -> yeccpars1(S, 64, Ss, Stack, T, Ts, Tzr); yeccpars2_63(_, _, _, _, T, _, _) -> yeccerror(T). -dialyzer({nowarn_function, yeccpars2_64/7}). -compile({nowarn_unused_function, yeccpars2_64/7}). yeccpars2_64(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_,_,_,_,_,_|Nss] = Ss, NewStack = yeccpars2_64_(Stack), yeccgoto_singular_message(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). %% yeccpars2_65: see yeccpars2_35 -dialyzer({nowarn_function, yeccpars2_66/7}). -compile({nowarn_unused_function, yeccpars2_66/7}). yeccpars2_66(_S, Cat, Ss, Stack, T, Ts, Tzr) -> [_,_,_,_,_,_,_|Nss] = Ss, NewStack = yeccpars2_66_(Stack), yeccgoto_plural_message(hd(Nss), Cat, Nss, NewStack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccgoto_grammar/7}). -compile({nowarn_unused_function, yeccgoto_grammar/7}). yeccgoto_grammar(0, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_9(9, Cat, Ss, Stack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccgoto_message/7}). -compile({nowarn_unused_function, yeccgoto_message/7}). yeccgoto_message(0, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_8(8, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_message(8, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_8(8, Cat, Ss, Stack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccgoto_message_meta/7}). -compile({nowarn_unused_function, yeccgoto_message_meta/7}). yeccgoto_message_meta(0, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_7(7, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_message_meta(8, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_7(7, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_message_meta(10=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_20(_S, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_message_meta(13=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_14(_S, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_message_meta(15=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_20(_S, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_message_meta(18=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_19(_S, Cat, Ss, Stack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccgoto_messages/7}). -compile({nowarn_unused_function, yeccgoto_messages/7}). yeccgoto_messages(0=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_6(_S, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_messages(8=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_22(_S, Cat, Ss, Stack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccgoto_obsolete_plural_message/7}). -compile({nowarn_unused_function, yeccgoto_obsolete_plural_message/7}). yeccgoto_obsolete_plural_message(0=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_5(_S, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_obsolete_plural_message(8=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_5(_S, Cat, Ss, Stack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccgoto_obsolete_pluralizations/7}). -compile({nowarn_unused_function, yeccgoto_obsolete_pluralizations/7}). yeccgoto_obsolete_pluralizations(33=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_34(_S, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_obsolete_pluralizations(36=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_40(_S, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_obsolete_pluralizations(49=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_50(_S, Cat, Ss, Stack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccgoto_obsolete_singular_message/7}). -compile({nowarn_unused_function, yeccgoto_obsolete_singular_message/7}). yeccgoto_obsolete_singular_message(0=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_4(_S, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_obsolete_singular_message(8=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_4(_S, Cat, Ss, Stack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccgoto_only_comments/7}). -compile({nowarn_unused_function, yeccgoto_only_comments/7}). yeccgoto_only_comments(0=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_3(_S, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_only_comments(10=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_21(_S, Cat, Ss, Stack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccgoto_plural_message/7}). -compile({nowarn_unused_function, yeccgoto_plural_message/7}). yeccgoto_plural_message(0=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_2(_S, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_plural_message(8=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_2(_S, Cat, Ss, Stack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccgoto_pluralization/7}). -compile({nowarn_unused_function, yeccgoto_pluralization/7}). yeccgoto_pluralization(35, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_36(36, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_pluralization(55, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_57(57, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_pluralization(57, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_57(57, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_pluralization(65, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_57(57, Cat, Ss, Stack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccgoto_pluralizations/7}). -compile({nowarn_unused_function, yeccgoto_pluralizations/7}). yeccgoto_pluralizations(55=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_56(_S, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_pluralizations(57=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_58(_S, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_pluralizations(65=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_66(_S, Cat, Ss, Stack, T, Ts, Tzr). -dialyzer({nowarn_function, yeccgoto_singular_message/7}). -compile({nowarn_unused_function, yeccgoto_singular_message/7}). yeccgoto_singular_message(0=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_1(_S, Cat, Ss, Stack, T, Ts, Tzr); yeccgoto_singular_message(8=_S, Cat, Ss, Stack, T, Ts, Tzr) -> yeccpars2_1(_S, Cat, Ss, Stack, T, Ts, Tzr). -compile({inline,'yeccpars2_0_$end'/1}). -dialyzer({nowarn_function, 'yeccpars2_0_$end'/1}). -compile({nowarn_unused_function, 'yeccpars2_0_$end'/1}). -file("src/expo_po_parser.yrl", 28). 'yeccpars2_0_$end'(__Stack0) -> [begin empty end | __Stack0]. -compile({inline,yeccpars2_0_/1}). -dialyzer({nowarn_function, yeccpars2_0_/1}). -compile({nowarn_unused_function, yeccpars2_0_/1}). -file("src/expo_po_parser.yrl", 188). yeccpars2_0_(__Stack0) -> [begin [] end | __Stack0]. -compile({inline,yeccpars2_1_/1}). -dialyzer({nowarn_function, yeccpars2_1_/1}). -compile({nowarn_unused_function, yeccpars2_1_/1}). -file("src/expo_po_parser.yrl", 43). yeccpars2_1_(__Stack0) -> [___1 | __Stack] = __Stack0, [begin ___1 end | __Stack]. -compile({inline,yeccpars2_2_/1}). -dialyzer({nowarn_function, yeccpars2_2_/1}). -compile({nowarn_unused_function, yeccpars2_2_/1}). -file("src/expo_po_parser.yrl", 47). yeccpars2_2_(__Stack0) -> [___1 | __Stack] = __Stack0, [begin ___1 end | __Stack]. -compile({inline,yeccpars2_3_/1}). -dialyzer({nowarn_function, yeccpars2_3_/1}). -compile({nowarn_unused_function, yeccpars2_3_/1}). -file("src/expo_po_parser.yrl", 24). yeccpars2_3_(__Stack0) -> [___1 | __Stack] = __Stack0, [begin {only_comments, ___1} end | __Stack]. -compile({inline,yeccpars2_4_/1}). -dialyzer({nowarn_function, yeccpars2_4_/1}). -compile({nowarn_unused_function, yeccpars2_4_/1}). -file("src/expo_po_parser.yrl", 41). yeccpars2_4_(__Stack0) -> [___1 | __Stack] = __Stack0, [begin ___1 end | __Stack]. -compile({inline,yeccpars2_5_/1}). -dialyzer({nowarn_function, yeccpars2_5_/1}). -compile({nowarn_unused_function, yeccpars2_5_/1}). -file("src/expo_po_parser.yrl", 45). yeccpars2_5_(__Stack0) -> [___1 | __Stack] = __Stack0, [begin ___1 end | __Stack]. -compile({inline,yeccpars2_6_/1}). -dialyzer({nowarn_function, yeccpars2_6_/1}). -compile({nowarn_unused_function, yeccpars2_6_/1}). -file("src/expo_po_parser.yrl", 26). yeccpars2_6_(__Stack0) -> [___1 | __Stack] = __Stack0, [begin {messages, ___1} end | __Stack]. -compile({inline,'yeccpars2_8_$end'/1}). -dialyzer({nowarn_function, 'yeccpars2_8_$end'/1}). -compile({nowarn_unused_function, 'yeccpars2_8_$end'/1}). -file("src/expo_po_parser.yrl", 38). 'yeccpars2_8_$end'(__Stack0) -> [___1 | __Stack] = __Stack0, [begin [___1] end | __Stack]. -compile({inline,yeccpars2_8_/1}). -dialyzer({nowarn_function, yeccpars2_8_/1}). -compile({nowarn_unused_function, yeccpars2_8_/1}). -file("src/expo_po_parser.yrl", 188). yeccpars2_8_(__Stack0) -> [begin [] end | __Stack0]. -compile({inline,'yeccpars2_10_$end'/1}). -dialyzer({nowarn_function, 'yeccpars2_10_$end'/1}). -compile({nowarn_unused_function, 'yeccpars2_10_$end'/1}). -file("src/expo_po_parser.yrl", 33). 'yeccpars2_10_$end'(__Stack0) -> [___1 | __Stack] = __Stack0, [begin [extract_simple_token(___1)] end | __Stack]. -compile({inline,yeccpars2_10_/1}). -dialyzer({nowarn_function, yeccpars2_10_/1}). -compile({nowarn_unused_function, yeccpars2_10_/1}). -file("src/expo_po_parser.yrl", 188). yeccpars2_10_(__Stack0) -> [begin [] end | __Stack0]. -compile({inline,yeccpars2_13_/1}). -dialyzer({nowarn_function, yeccpars2_13_/1}). -compile({nowarn_unused_function, yeccpars2_13_/1}). -file("src/expo_po_parser.yrl", 188). yeccpars2_13_(__Stack0) -> [begin [] end | __Stack0]. -compile({inline,yeccpars2_14_/1}). -dialyzer({nowarn_function, yeccpars2_14_/1}). -compile({nowarn_unused_function, yeccpars2_14_/1}). -file("src/expo_po_parser.yrl", 202). yeccpars2_14_(__Stack0) -> [___4,___3,___2,___1 | __Stack] = __Stack0, [begin [ {previous_messages, to_singular_message( [{msgid, extract_simple_token(___3)}], [{msgid, extract_line(___2)}] )} | ___4 ] end | __Stack]. -compile({inline,yeccpars2_15_/1}). -dialyzer({nowarn_function, yeccpars2_15_/1}). -compile({nowarn_unused_function, yeccpars2_15_/1}). -file("src/expo_po_parser.yrl", 188). yeccpars2_15_(__Stack0) -> [begin [] end | __Stack0]. -compile({inline,yeccpars2_18_/1}). -dialyzer({nowarn_function, yeccpars2_18_/1}). -compile({nowarn_unused_function, yeccpars2_18_/1}). -file("src/expo_po_parser.yrl", 188). yeccpars2_18_(__Stack0) -> [begin [] end | __Stack0]. -compile({inline,yeccpars2_19_/1}). -dialyzer({nowarn_function, yeccpars2_19_/1}). -compile({nowarn_unused_function, yeccpars2_19_/1}). -file("src/expo_po_parser.yrl", 195). yeccpars2_19_(__Stack0) -> [___7,___6,___5,___4,___3,___2,___1 | __Stack] = __Stack0, [begin [ {previous_messages, to_plural_message( [{msgid, extract_simple_token(___3)}, {msgid_plural, extract_simple_token(___6)}], [{msgid, extract_line(___2)}, {msgid_plural, extract_line(___5)}] )} | ___7 ] end | __Stack]. -compile({inline,yeccpars2_20_/1}). -dialyzer({nowarn_function, yeccpars2_20_/1}). -compile({nowarn_unused_function, yeccpars2_20_/1}). -file("src/expo_po_parser.yrl", 190). yeccpars2_20_(__Stack0) -> [___2,___1 | __Stack] = __Stack0, [begin [ {comments, extract_simple_token(___1)} | ___2 ] end | __Stack]. -compile({inline,yeccpars2_21_/1}). -dialyzer({nowarn_function, yeccpars2_21_/1}). -compile({nowarn_unused_function, yeccpars2_21_/1}). -file("src/expo_po_parser.yrl", 31). yeccpars2_21_(__Stack0) -> [___2,___1 | __Stack] = __Stack0, [begin [extract_simple_token(___1) | ___2] end | __Stack]. -compile({inline,yeccpars2_22_/1}). -dialyzer({nowarn_function, yeccpars2_22_/1}). -compile({nowarn_unused_function, yeccpars2_22_/1}). -file("src/expo_po_parser.yrl", 36). yeccpars2_22_(__Stack0) -> [___2,___1 | __Stack] = __Stack0, [begin [___1 | ___2] end | __Stack]. -compile({inline,yeccpars2_32_/1}). -dialyzer({nowarn_function, yeccpars2_32_/1}). -compile({nowarn_unused_function, yeccpars2_32_/1}). -file("src/expo_po_parser.yrl", 76). yeccpars2_32_(__Stack0) -> [___7,___6,___5,___4,___3,___2,___1 | __Stack] = __Stack0, [begin to_singular_message( [ {obsolete, true}, {msgid, extract_simple_token(___4)}, {msgstr, extract_simple_token(___7)} | group_meta(___1) ], [ {msgid, extract_line(___3)}, {msgstr, extract_line(___5)} ] ) end | __Stack]. -compile({inline,yeccpars2_34_/1}). -dialyzer({nowarn_function, yeccpars2_34_/1}). -compile({nowarn_unused_function, yeccpars2_34_/1}). -file("src/expo_po_parser.yrl", 138). yeccpars2_34_(__Stack0) -> [___8,___7,___6,___5,___4,___3,___2,___1 | __Stack] = __Stack0, [begin {Pluralizations, PluralLineInformation} = split_msgstr(___8), to_plural_message( [ {obsolete, true}, {msgid, extract_simple_token(___4)}, {msgid_plural, extract_simple_token(___7)}, {msgstr, maps:from_list(Pluralizations)} | group_meta(___1) ], [ {msgid, extract_line(___3)}, {msgid_plural, extract_line(___6)} | PluralLineInformation ] ) end | __Stack]. -compile({inline,yeccpars2_36_/1}). -dialyzer({nowarn_function, yeccpars2_36_/1}). -compile({nowarn_unused_function, yeccpars2_36_/1}). -file("src/expo_po_parser.yrl", 180). yeccpars2_36_(__Stack0) -> [___2,___1 | __Stack] = __Stack0, [begin [___2] end | __Stack]. -compile({inline,yeccpars2_39_/1}). -dialyzer({nowarn_function, yeccpars2_39_/1}). -compile({nowarn_unused_function, yeccpars2_39_/1}). -file("src/expo_po_parser.yrl", 185). yeccpars2_39_(__Stack0) -> [___3,___2,___1 | __Stack] = __Stack0, [begin {extract_simple_token(___2), extract_simple_token(___3), extract_line(___2)} end | __Stack]. -compile({inline,yeccpars2_40_/1}). -dialyzer({nowarn_function, yeccpars2_40_/1}). -compile({nowarn_unused_function, yeccpars2_40_/1}). -file("src/expo_po_parser.yrl", 182). yeccpars2_40_(__Stack0) -> [___3,___2,___1 | __Stack] = __Stack0, [begin [___2|___3] end | __Stack]. -compile({inline,yeccpars2_48_/1}). -dialyzer({nowarn_function, yeccpars2_48_/1}). -compile({nowarn_unused_function, yeccpars2_48_/1}). -file("src/expo_po_parser.yrl", 88). yeccpars2_48_(__Stack0) -> [___10,___9,___8,___7,___6,___5,___4,___3,___2,___1 | __Stack] = __Stack0, [begin to_singular_message( [ {obsolete, true}, {msgctxt, extract_simple_token(___4)}, {msgid, extract_simple_token(___7)}, {msgstr, extract_simple_token(___10)} | group_meta(___1) ], [ {msgctxt, extract_line(___3)}, {msgid, extract_line(___6)}, {msgstr, extract_line(___9)} ] ) end | __Stack]. -compile({inline,yeccpars2_50_/1}). -dialyzer({nowarn_function, yeccpars2_50_/1}). -compile({nowarn_unused_function, yeccpars2_50_/1}). -file("src/expo_po_parser.yrl", 155). yeccpars2_50_(__Stack0) -> [___11,___10,___9,___8,___7,___6,___5,___4,___3,___2,___1 | __Stack] = __Stack0, [begin {Pluralizations, PluralLineInformation} = split_msgstr(___11), to_plural_message( [ {obsolete, true}, {msgctxt, extract_simple_token(___4)}, {msgid, extract_simple_token(___7)}, {msgid_plural, extract_simple_token(___10)}, {msgstr, maps:from_list(Pluralizations)} | group_meta(___1) ], [ {msgctx, extract_line(___3)}, {msgid, extract_line(___6)}, {msgid_plural, extract_line(___9)} | PluralLineInformation ] ) end | __Stack]. -compile({inline,yeccpars2_54_/1}). -dialyzer({nowarn_function, yeccpars2_54_/1}). -compile({nowarn_unused_function, yeccpars2_54_/1}). -file("src/expo_po_parser.yrl", 50). yeccpars2_54_(__Stack0) -> [___5,___4,___3,___2,___1 | __Stack] = __Stack0, [begin to_singular_message( [ {msgid, extract_simple_token(___3)}, {msgstr, extract_simple_token(___5)} | group_meta(___1) ], [ {msgid, extract_line(___2)}, {msgstr, extract_line(___4)} ] ) end | __Stack]. -compile({inline,yeccpars2_56_/1}). -dialyzer({nowarn_function, yeccpars2_56_/1}). -compile({nowarn_unused_function, yeccpars2_56_/1}). -file("src/expo_po_parser.yrl", 104). yeccpars2_56_(__Stack0) -> [___6,___5,___4,___3,___2,___1 | __Stack] = __Stack0, [begin {Pluralizations, PluralLineInformation} = split_msgstr(___6), to_plural_message( [ {msgid, extract_simple_token(___3)}, {msgid_plural, extract_simple_token(___5)}, {msgstr, maps:from_list(Pluralizations)} | group_meta(___1) ], [ {msgid, extract_line(___2)}, {msgid_plural, extract_line(___4)} | PluralLineInformation ] ) end | __Stack]. -compile({inline,yeccpars2_57_/1}). -dialyzer({nowarn_function, yeccpars2_57_/1}). -compile({nowarn_unused_function, yeccpars2_57_/1}). -file("src/expo_po_parser.yrl", 175). yeccpars2_57_(__Stack0) -> [___1 | __Stack] = __Stack0, [begin [___1] end | __Stack]. -compile({inline,yeccpars2_58_/1}). -dialyzer({nowarn_function, yeccpars2_58_/1}). -compile({nowarn_unused_function, yeccpars2_58_/1}). -file("src/expo_po_parser.yrl", 177). yeccpars2_58_(__Stack0) -> [___2,___1 | __Stack] = __Stack0, [begin [___1|___2] end | __Stack]. -compile({inline,yeccpars2_64_/1}). -dialyzer({nowarn_function, yeccpars2_64_/1}). -compile({nowarn_unused_function, yeccpars2_64_/1}). -file("src/expo_po_parser.yrl", 61). yeccpars2_64_(__Stack0) -> [___7,___6,___5,___4,___3,___2,___1 | __Stack] = __Stack0, [begin to_singular_message( [ {msgctxt, extract_simple_token(___3)}, {msgid, extract_simple_token(___5)}, {msgstr, extract_simple_token(___7)} | group_meta(___1) ], [ {msgctxt, extract_line(___2)}, {msgid, extract_line(___4)}, {msgstr, extract_line(___6)} ] ) end | __Stack]. -compile({inline,yeccpars2_66_/1}). -dialyzer({nowarn_function, yeccpars2_66_/1}). -compile({nowarn_unused_function, yeccpars2_66_/1}). -file("src/expo_po_parser.yrl", 119). yeccpars2_66_(__Stack0) -> [___8,___7,___6,___5,___4,___3,___2,___1 | __Stack] = __Stack0, [begin {Pluralizations, PluralLineInformation} = split_msgstr(___8), to_plural_message( [ {msgctxt, extract_simple_token(___3)}, {msgid, extract_simple_token(___5)}, {msgid_plural, extract_simple_token(___7)}, {msgstr, maps:from_list(Pluralizations)} | group_meta(___1) ], [ {msgctx, extract_line(___2)}, {msgid, extract_line(___4)}, {msgid_plural, extract_line(___6)} | PluralLineInformation ] ) end | __Stack]. -file("src/expo_po_parser.yrl", 252).