1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/andyspider-schem.erl

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
lfe_scan.erl 56 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Andy Huang Отправлено 17.09.2013 12:44 991e291
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282
-file("/usr/lib/erlang/lib/parsetools-2.0.7/include/leexinc.hrl", 0).
%% The source of this file is part of leex distribution, as such it
%% has the same Copyright as the other files in the leex
%% distribution. The Copyright is defined in the accompanying file
%% COPYRIGHT. However, the resultant scanner generated by leex is the
%% property of the creator of the scanner and is not covered by that
%% Copyright.
-module(lfe_scan).
-export([string/1,string/2,token/2,token/3,tokens/2,tokens/3]).
-export([format_error/1]).
%% User code. This is placed here to allow extra attributes.
-file("./lfe_scan.xrl", 99).
%% Copyright (c) 2008-2011 Robert Virding. All rights reserved.
%%
%% Redistribution and use in source and binary forms, with or without
%% modification, are permitted provided that the following conditions
%% are met:
%%
%% 1. Redistributions of source code must retain the above copyright
%% notice, this list of conditions and the following disclaimer.
%% 2. Redistributions in binary form must reproduce the above copyright
%% notice, this list of conditions and the following disclaimer in the
%% documentation and/or other materials provided with the distribution.
%%
%% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
%% "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
%% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
%% FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
%% COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
%% INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
%% BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
%% LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
%% CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
%% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
%% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
%% POSSIBILITY OF SUCH DAMAGE.
%% File : lfe_scan.erl
%% Author : Robert Virding
%% Purpose : Token definitions for Lisp Flavoured Erlang.
-import(string, [substr/2,substr/3]).
%% symbol_token(Chars, Line) -> {token,{symbol,Line,Symbol}} | {error,E}.
%% Build a symbol from list of legal characters, else error.
symbol_token(Cs, L) ->
case catch {ok,list_to_atom(Cs)} of
{ok,S} -> {token,{symbol,L,S}};
_ -> {error,"illegal symbol"}
end.
%% base_token(Chars, Base, Line) -> Integer.
%% Convert a string of Base characters into a number. We know that
%% the strings only contain the correct character.
base_token(Cs, B, L) ->
case base1(Cs, B, 0) of
{N,[]} -> {token,{number,L,N}};
{_,_} -> {error,"illegal based number"}
end.
base1([C|Cs], Base, SoFar) when C >= $0, C =< $9, C < Base + $0 ->
Next = SoFar * Base + (C - $0),
base1(Cs, Base, Next);
base1([C|Cs], Base, SoFar) when C >= $a, C =< $f, C < Base + $a - 10 ->
Next = SoFar * Base + (C - $a + 10),
base1(Cs, Base, Next);
base1([C|Cs], Base, SoFar) when C >= $A, C =< $F, C < Base + $A - 10 ->
Next = SoFar * Base + (C - $A + 10),
base1(Cs, Base, Next);
base1([C|Cs], _Base, SoFar) -> {SoFar,[C|Cs]};
base1([], _Base, N) -> {N,[]}.
%% char_token(InputChars, Line) -> {token,{number,L,N}} | {error,E}.
%% Convert an input string into the corresponding character. We know
%% that the input string is correct.
char_token([$x,C|Cs], L) ->
case base1([C|Cs], 16, 0) of
{N,[]} -> {token,{number,L,N}};
_ -> {error,"illegal character"}
end;
char_token([C], L) -> {token,{number,L,C}}.
%% chars(InputChars) -> Chars.
%% Convert an input string into the corresponding string
%% characters. We know that the input string is correct.
chars([$\\,$x,C|Cs0]) ->
case hex_char(C) of
true ->
case base1([C|Cs0], 16, 0) of
{N,[$;|Cs1]} -> [N|chars(Cs1)];
_Other -> [escape_char($x)|chars([C|Cs0])]
end;
false -> [escape_char($x)|chars([C|Cs0])]
end;
chars([$\\,C|Cs]) -> [escape_char(C)|chars(Cs)];
chars([C|Cs]) -> [C|chars(Cs)];
chars([]) -> [].
hex_char(C) when C >= $0, C =< $9 -> true;
hex_char(C) when C >= $a, C =< $f -> true;
hex_char(C) when C >= $A, C =< $F -> true;
hex_char(_) -> false.
escape_char($n) -> $\n; %\n = LF
escape_char($r) -> $\r; %\r = CR
escape_char($t) -> $\t; %\t = TAB
escape_char($v) -> $\v; %\v = VT
escape_char($b) -> $\b; %\b = BS
escape_char($f) -> $\f; %\f = FF
escape_char($e) -> $\e; %\e = ESC
escape_char($s) -> $\s; %\s = SPC
escape_char($d) -> $\d; %\d = DEL
escape_char(C) -> C.
-file("/usr/lib/erlang/lib/parsetools-2.0.7/include/leexinc.hrl", 14).
format_error({illegal,S}) -> ["illegal characters ",io_lib:write_string(S)];
format_error({user,S}) -> S.
string(String) -> string(String, 1).
string(String, Line) -> string(String, Line, String, []).
%% string(InChars, Line, TokenChars, Tokens) ->
%% {ok,Tokens,Line} | {error,ErrorInfo,Line}.
%% Note the line number going into yystate, L0, is line of token
%% start while line number returned is line of token end. We want line
%% of token start.
string([], L, [], Ts) -> % No partial tokens!
{ok,yyrev(Ts),L};
string(Ics0, L0, Tcs, Ts) ->
case yystate(yystate(), Ics0, L0, 0, reject, 0) of
{A,Alen,Ics1,L1} -> % Accepting end state
string_cont(Ics1, L1, yyaction(A, Alen, Tcs, L0), Ts);
{A,Alen,Ics1,L1,_S1} -> % Accepting transistion state
string_cont(Ics1, L1, yyaction(A, Alen, Tcs, L0), Ts);
{reject,_Alen,Tlen,_Ics1,L1,_S1} -> % After a non-accepting state
{error,{L0,?MODULE,{illegal,yypre(Tcs, Tlen+1)}},L1};
{A,Alen,_Tlen,_Ics1,L1,_S1} ->
string_cont(yysuf(Tcs, Alen), L1, yyaction(A, Alen, Tcs, L0), Ts)
end.
%% string_cont(RestChars, Line, Token, Tokens)
%% Test for and remove the end token wrapper. Push back characters
%% are prepended to RestChars.
string_cont(Rest, Line, {token,T}, Ts) ->
string(Rest, Line, Rest, [T|Ts]);
string_cont(Rest, Line, {token,T,Push}, Ts) ->
NewRest = Push ++ Rest,
string(NewRest, Line, NewRest, [T|Ts]);
string_cont(Rest, Line, {end_token,T}, Ts) ->
string(Rest, Line, Rest, [T|Ts]);
string_cont(Rest, Line, {end_token,T,Push}, Ts) ->
NewRest = Push ++ Rest,
string(NewRest, Line, NewRest, [T|Ts]);
string_cont(Rest, Line, skip_token, Ts) ->
string(Rest, Line, Rest, Ts);
string_cont(Rest, Line, {skip_token,Push}, Ts) ->
NewRest = Push ++ Rest,
string(NewRest, Line, NewRest, Ts);
string_cont(_Rest, Line, {error,S}, _Ts) ->
{error,{Line,?MODULE,{user,S}},Line}.
%% token(Continuation, Chars) ->
%% token(Continuation, Chars, Line) ->
%% {more,Continuation} | {done,ReturnVal,RestChars}.
%% Must be careful when re-entering to append the latest characters to the
%% after characters in an accept. The continuation is:
%% {token,State,CurrLine,TokenChars,TokenLen,TokenLine,AccAction,AccLen}
token(Cont, Chars) -> token(Cont, Chars, 1).
token([], Chars, Line) ->
token(yystate(), Chars, Line, Chars, 0, Line, reject, 0);
token({token,State,Line,Tcs,Tlen,Tline,Action,Alen}, Chars, _) ->
token(State, Chars, Line, Tcs ++ Chars, Tlen, Tline, Action, Alen).
%% token(State, InChars, Line, TokenChars, TokenLen, TokenLine,
%% AcceptAction, AcceptLen) ->
%% {more,Continuation} | {done,ReturnVal,RestChars}.
%% The argument order is chosen to be more efficient.
token(S0, Ics0, L0, Tcs, Tlen0, Tline, A0, Alen0) ->
case yystate(S0, Ics0, L0, Tlen0, A0, Alen0) of
%% Accepting end state, we have a token.
{A1,Alen1,Ics1,L1} ->
token_cont(Ics1, L1, yyaction(A1, Alen1, Tcs, Tline));
%% Accepting transition state, can take more chars.
{A1,Alen1,[],L1,S1} -> % Need more chars to check
{more,{token,S1,L1,Tcs,Alen1,Tline,A1,Alen1}};
{A1,Alen1,Ics1,L1,_S1} -> % Take what we got
token_cont(Ics1, L1, yyaction(A1, Alen1, Tcs, Tline));
%% After a non-accepting state, maybe reach accept state later.
{A1,Alen1,Tlen1,[],L1,S1} -> % Need more chars to check
{more,{token,S1,L1,Tcs,Tlen1,Tline,A1,Alen1}};
{reject,_Alen1,Tlen1,eof,L1,_S1} -> % No token match
%% Check for partial token which is error.
Ret = if Tlen1 > 0 -> {error,{Tline,?MODULE,
%% Skip eof tail in Tcs.
{illegal,yypre(Tcs, Tlen1)}},L1};
true -> {eof,L1}
end,
{done,Ret,eof};
{reject,_Alen1,Tlen1,Ics1,L1,_S1} -> % No token match
Error = {Tline,?MODULE,{illegal,yypre(Tcs, Tlen1+1)}},
{done,{error,Error,L1},Ics1};
{A1,Alen1,_Tlen1,_Ics1,L1,_S1} -> % Use last accept match
token_cont(yysuf(Tcs, Alen1), L1, yyaction(A1, Alen1, Tcs, Tline))
end.
%% token_cont(RestChars, Line, Token)
%% If we have a token or error then return done, else if we have a
%% skip_token then continue.
token_cont(Rest, Line, {token,T}) ->
{done,{ok,T,Line},Rest};
token_cont(Rest, Line, {token,T,Push}) ->
NewRest = Push ++ Rest,
{done,{ok,T,Line},NewRest};
token_cont(Rest, Line, {end_token,T}) ->
{done,{ok,T,Line},Rest};
token_cont(Rest, Line, {end_token,T,Push}) ->
NewRest = Push ++ Rest,
{done,{ok,T,Line},NewRest};
token_cont(Rest, Line, skip_token) ->
token(yystate(), Rest, Line, Rest, 0, Line, reject, 0);
token_cont(Rest, Line, {skip_token,Push}) ->
NewRest = Push ++ Rest,
token(yystate(), NewRest, Line, NewRest, 0, Line, reject, 0);
token_cont(Rest, Line, {error,S}) ->
{done,{error,{Line,?MODULE,{user,S}},Line},Rest}.
%% tokens(Continuation, Chars, Line) ->
%% {more,Continuation} | {done,ReturnVal,RestChars}.
%% Must be careful when re-entering to append the latest characters to the
%% after characters in an accept. The continuation is:
%% {tokens,State,CurrLine,TokenChars,TokenLen,TokenLine,Tokens,AccAction,AccLen}
%% {skip_tokens,State,CurrLine,TokenChars,TokenLen,TokenLine,Error,AccAction,AccLen}
tokens(Cont, Chars) -> tokens(Cont, Chars, 1).
tokens([], Chars, Line) ->
tokens(yystate(), Chars, Line, Chars, 0, Line, [], reject, 0);
tokens({tokens,State,Line,Tcs,Tlen,Tline,Ts,Action,Alen}, Chars, _) ->
tokens(State, Chars, Line, Tcs ++ Chars, Tlen, Tline, Ts, Action, Alen);
tokens({skip_tokens,State,Line,Tcs,Tlen,Tline,Error,Action,Alen}, Chars, _) ->
skip_tokens(State, Chars, Line, Tcs ++ Chars, Tlen, Tline, Error, Action, Alen).
%% tokens(State, InChars, Line, TokenChars, TokenLen, TokenLine, Tokens,
%% AcceptAction, AcceptLen) ->
%% {more,Continuation} | {done,ReturnVal,RestChars}.
tokens(S0, Ics0, L0, Tcs, Tlen0, Tline, Ts, A0, Alen0) ->
case yystate(S0, Ics0, L0, Tlen0, A0, Alen0) of
%% Accepting end state, we have a token.
{A1,Alen1,Ics1,L1} ->
tokens_cont(Ics1, L1, yyaction(A1, Alen1, Tcs, Tline), Ts);
%% Accepting transition state, can take more chars.
{A1,Alen1,[],L1,S1} -> % Need more chars to check
{more,{tokens,S1,L1,Tcs,Alen1,Tline,Ts,A1,Alen1}};
{A1,Alen1,Ics1,L1,_S1} -> % Take what we got
tokens_cont(Ics1, L1, yyaction(A1, Alen1, Tcs, Tline), Ts);
%% After a non-accepting state, maybe reach accept state later.
{A1,Alen1,Tlen1,[],L1,S1} -> % Need more chars to check
{more,{tokens,S1,L1,Tcs,Tlen1,Tline,Ts,A1,Alen1}};
{reject,_Alen1,Tlen1,eof,L1,_S1} -> % No token match
%% Check for partial token which is error, no need to skip here.
Ret = if Tlen1 > 0 -> {error,{Tline,?MODULE,
%% Skip eof tail in Tcs.
{illegal,yypre(Tcs, Tlen1)}},L1};
Ts == [] -> {eof,L1};
true -> {ok,yyrev(Ts),L1}
end,
{done,Ret,eof};
{reject,_Alen1,Tlen1,_Ics1,L1,_S1} ->
%% Skip rest of tokens.
Error = {L1,?MODULE,{illegal,yypre(Tcs, Tlen1+1)}},
skip_tokens(yysuf(Tcs, Tlen1+1), L1, Error);
{A1,Alen1,_Tlen1,_Ics1,L1,_S1} ->
Token = yyaction(A1, Alen1, Tcs, Tline),
tokens_cont(yysuf(Tcs, Alen1), L1, Token, Ts)
end.
%% tokens_cont(RestChars, Line, Token, Tokens)
%% If we have an end_token or error then return done, else if we have
%% a token then save it and continue, else if we have a skip_token
%% just continue.
tokens_cont(Rest, Line, {token,T}, Ts) ->
tokens(yystate(), Rest, Line, Rest, 0, Line, [T|Ts], reject, 0);
tokens_cont(Rest, Line, {token,T,Push}, Ts) ->
NewRest = Push ++ Rest,
tokens(yystate(), NewRest, Line, NewRest, 0, Line, [T|Ts], reject, 0);
tokens_cont(Rest, Line, {end_token,T}, Ts) ->
{done,{ok,yyrev(Ts, [T]),Line},Rest};
tokens_cont(Rest, Line, {end_token,T,Push}, Ts) ->
NewRest = Push ++ Rest,
{done,{ok,yyrev(Ts, [T]),Line},NewRest};
tokens_cont(Rest, Line, skip_token, Ts) ->
tokens(yystate(), Rest, Line, Rest, 0, Line, Ts, reject, 0);
tokens_cont(Rest, Line, {skip_token,Push}, Ts) ->
NewRest = Push ++ Rest,
tokens(yystate(), NewRest, Line, NewRest, 0, Line, Ts, reject, 0);
tokens_cont(Rest, Line, {error,S}, _Ts) ->
skip_tokens(Rest, Line, {Line,?MODULE,{user,S}}).
%%skip_tokens(InChars, Line, Error) -> {done,{error,Error,Line},Ics}.
%% Skip tokens until an end token, junk everything and return the error.
skip_tokens(Ics, Line, Error) ->
skip_tokens(yystate(), Ics, Line, Ics, 0, Line, Error, reject, 0).
%% skip_tokens(State, InChars, Line, TokenChars, TokenLen, TokenLine, Tokens,
%% AcceptAction, AcceptLen) ->
%% {more,Continuation} | {done,ReturnVal,RestChars}.
skip_tokens(S0, Ics0, L0, Tcs, Tlen0, Tline, Error, A0, Alen0) ->
case yystate(S0, Ics0, L0, Tlen0, A0, Alen0) of
{A1,Alen1,Ics1,L1} -> % Accepting end state
skip_cont(Ics1, L1, yyaction(A1, Alen1, Tcs, Tline), Error);
{A1,Alen1,[],L1,S1} -> % After an accepting state
{more,{skip_tokens,S1,L1,Tcs,Alen1,Tline,Error,A1,Alen1}};
{A1,Alen1,Ics1,L1,_S1} ->
skip_cont(Ics1, L1, yyaction(A1, Alen1, Tcs, Tline), Error);
{A1,Alen1,Tlen1,[],L1,S1} -> % After a non-accepting state
{more,{skip_tokens,S1,L1,Tcs,Tlen1,Tline,Error,A1,Alen1}};
{reject,_Alen1,_Tlen1,eof,L1,_S1} ->
{done,{error,Error,L1},eof};
{reject,_Alen1,Tlen1,_Ics1,L1,_S1} ->
skip_tokens(yysuf(Tcs, Tlen1+1), L1, Error);
{A1,Alen1,_Tlen1,_Ics1,L1,_S1} ->
Token = yyaction(A1, Alen1, Tcs, Tline),
skip_cont(yysuf(Tcs, Alen1), L1, Token, Error)
end.
%% skip_cont(RestChars, Line, Token, Error)
%% Skip tokens until we have an end_token or error then return done
%% with the original rror.
skip_cont(Rest, Line, {token,_T}, Error) ->
skip_tokens(yystate(), Rest, Line, Rest, 0, Line, Error, reject, 0);
skip_cont(Rest, Line, {token,_T,Push}, Error) ->
NewRest = Push ++ Rest,
skip_tokens(yystate(), NewRest, Line, NewRest, 0, Line, Error, reject, 0);
skip_cont(Rest, Line, {end_token,_T}, Error) ->
{done,{error,Error,Line},Rest};
skip_cont(Rest, Line, {end_token,_T,Push}, Error) ->
NewRest = Push ++ Rest,
{done,{error,Error,Line},NewRest};
skip_cont(Rest, Line, skip_token, Error) ->
skip_tokens(yystate(), Rest, Line, Rest, 0, Line, Error, reject, 0);
skip_cont(Rest, Line, {skip_token,Push}, Error) ->
NewRest = Push ++ Rest,
skip_tokens(yystate(), NewRest, Line, NewRest, 0, Line, Error, reject, 0);
skip_cont(Rest, Line, {error,_S}, Error) ->
skip_tokens(yystate(), Rest, Line, Rest, 0, Line, Error, reject, 0).
yyrev(List) -> lists:reverse(List).
yyrev(List, Tail) -> lists:reverse(List, Tail).
yypre(List, N) -> lists:sublist(List, N).
yysuf(List, N) -> lists:nthtail(N, List).
%% yystate() -> InitialState.
%% yystate(State, InChars, Line, CurrTokLen, AcceptAction, AcceptLen) ->
%% {Action, AcceptLen, RestChars, Line} |
%% {Action, AcceptLen, RestChars, Line, State} |
%% {reject, AcceptLen, CurrTokLen, RestChars, Line, State} |
%% {Action, AcceptLen, CurrTokLen, RestChars, Line, State}.
%% Generated state transition functions. The non-accepting end state
%% return signal either an unrecognised character or end of current
%% input.
-file("./lfe_scan.erl", 381).
yystate() -> 48.
yystate(51, [C|Ics], Line, Tlen, _, _) when C >= 48, C =< 57 ->
yystate(51, Ics, Line, Tlen+1, 13, Tlen);
yystate(51, [C|Ics], Line, Tlen, _, _) when C >= 65, C =< 70 ->
yystate(51, Ics, Line, Tlen+1, 13, Tlen);
yystate(51, [C|Ics], Line, Tlen, _, _) when C >= 97, C =< 102 ->
yystate(51, Ics, Line, Tlen+1, 13, Tlen);
yystate(51, Ics, Line, Tlen, _, _) ->
{13,Tlen,Ics,Line,51};
yystate(50, [59|Ics], Line, Tlen, _, _) ->
yystate(16, Ics, Line, Tlen+1, 25, Tlen);
yystate(50, [10|Ics], Line, Tlen, _, _) ->
yystate(50, Ics, Line+1, Tlen+1, 25, Tlen);
yystate(50, [C|Ics], Line, Tlen, _, _) when C >= 0, C =< 9 ->
yystate(50, Ics, Line, Tlen+1, 25, Tlen);
yystate(50, [C|Ics], Line, Tlen, _, _) when C >= 11, C =< 32 ->
yystate(50, Ics, Line, Tlen+1, 25, Tlen);
yystate(50, Ics, Line, Tlen, _, _) ->
{25,Tlen,Ics,Line,50};
yystate(49, Ics, Line, Tlen, _, _) ->
{13,Tlen,Ics,Line};
yystate(48, [125|Ics], Line, Tlen, Action, Alen) ->
yystate(27, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [124|Ics], Line, Tlen, Action, Alen) ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [123|Ics], Line, Tlen, Action, Alen) ->
yystate(27, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [96|Ics], Line, Tlen, Action, Alen) ->
yystate(20, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [94|Ics], Line, Tlen, Action, Alen) ->
yystate(46, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [95|Ics], Line, Tlen, Action, Alen) ->
yystate(46, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [93|Ics], Line, Tlen, Action, Alen) ->
yystate(27, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [92|Ics], Line, Tlen, Action, Alen) ->
yystate(46, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [91|Ics], Line, Tlen, Action, Alen) ->
yystate(27, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [59|Ics], Line, Tlen, Action, Alen) ->
yystate(16, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [58|Ics], Line, Tlen, Action, Alen) ->
yystate(46, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [47|Ics], Line, Tlen, Action, Alen) ->
yystate(46, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [46|Ics], Line, Tlen, Action, Alen) ->
yystate(11, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [45|Ics], Line, Tlen, Action, Alen) ->
yystate(23, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [44|Ics], Line, Tlen, Action, Alen) ->
yystate(15, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [43|Ics], Line, Tlen, Action, Alen) ->
yystate(23, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [42|Ics], Line, Tlen, Action, Alen) ->
yystate(46, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [40|Ics], Line, Tlen, Action, Alen) ->
yystate(27, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [41|Ics], Line, Tlen, Action, Alen) ->
yystate(27, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [39|Ics], Line, Tlen, Action, Alen) ->
yystate(31, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [35|Ics], Line, Tlen, Action, Alen) ->
yystate(35, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [34|Ics], Line, Tlen, Action, Alen) ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [33|Ics], Line, Tlen, Action, Alen) ->
yystate(46, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [10|Ics], Line, Tlen, Action, Alen) ->
yystate(50, Ics, Line+1, Tlen+1, Action, Alen);
yystate(48, [C|Ics], Line, Tlen, Action, Alen) when C >= 0, C =< 9 ->
yystate(50, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [C|Ics], Line, Tlen, Action, Alen) when C >= 11, C =< 32 ->
yystate(50, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [C|Ics], Line, Tlen, Action, Alen) when C >= 36, C =< 38 ->
yystate(46, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [C|Ics], Line, Tlen, Action, Alen) when C >= 48, C =< 57 ->
yystate(12, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [C|Ics], Line, Tlen, Action, Alen) when C >= 60, C =< 90 ->
yystate(46, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [C|Ics], Line, Tlen, Action, Alen) when C >= 97, C =< 122 ->
yystate(46, Ics, Line, Tlen+1, Action, Alen);
yystate(48, [C|Ics], Line, Tlen, Action, Alen) when C >= 126 ->
yystate(46, Ics, Line, Tlen+1, Action, Alen);
yystate(48, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,48};
yystate(47, [120|Ics], Line, Tlen, Action, Alen) ->
yystate(51, Ics, Line, Tlen+1, Action, Alen);
yystate(47, [C|Ics], Line, Tlen, Action, Alen) when C >= 0, C =< 9 ->
yystate(49, Ics, Line, Tlen+1, Action, Alen);
yystate(47, [C|Ics], Line, Tlen, Action, Alen) when C >= 11, C =< 119 ->
yystate(49, Ics, Line, Tlen+1, Action, Alen);
yystate(47, [C|Ics], Line, Tlen, Action, Alen) when C >= 121 ->
yystate(49, Ics, Line, Tlen+1, Action, Alen);
yystate(47, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,47};
yystate(46, [124|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(46, [92|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(46, [33|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(46, [C|Ics], Line, Tlen, _, _) when C >= 35, C =< 39 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(46, [C|Ics], Line, Tlen, _, _) when C >= 42, C =< 58 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(46, [C|Ics], Line, Tlen, _, _) when C >= 60, C =< 90 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(46, [C|Ics], Line, Tlen, _, _) when C >= 94, C =< 122 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(46, [C|Ics], Line, Tlen, _, _) when C >= 126 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(46, Ics, Line, Tlen, _, _) ->
{24,Tlen,Ics,Line,46};
yystate(45, [C|Ics], Line, Tlen, Action, Alen) when C >= 48, C =< 57 ->
yystate(41, Ics, Line, Tlen+1, Action, Alen);
yystate(45, [C|Ics], Line, Tlen, Action, Alen) when C >= 65, C =< 70 ->
yystate(41, Ics, Line, Tlen+1, Action, Alen);
yystate(45, [C|Ics], Line, Tlen, Action, Alen) when C >= 97, C =< 102 ->
yystate(41, Ics, Line, Tlen+1, Action, Alen);
yystate(45, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,45};
yystate(44, [124|Ics], Line, Tlen, Action, Alen) ->
yystate(40, Ics, Line, Tlen+1, Action, Alen);
yystate(44, [92|Ics], Line, Tlen, Action, Alen) ->
yystate(36, Ics, Line, Tlen+1, Action, Alen);
yystate(44, [10|Ics], Line, Tlen, Action, Alen) ->
yystate(44, Ics, Line+1, Tlen+1, Action, Alen);
yystate(44, [C|Ics], Line, Tlen, Action, Alen) when C >= 0, C =< 9 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(44, [C|Ics], Line, Tlen, Action, Alen) when C >= 11, C =< 91 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(44, [C|Ics], Line, Tlen, Action, Alen) when C >= 93, C =< 123 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(44, [C|Ics], Line, Tlen, Action, Alen) when C >= 125 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(44, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,44};
yystate(43, Ics, Line, Tlen, _, _) ->
{3,Tlen,Ics,Line};
yystate(42, [92|Ics], Line, Tlen, Action, Alen) ->
yystate(30, Ics, Line, Tlen+1, Action, Alen);
yystate(42, [34|Ics], Line, Tlen, Action, Alen) ->
yystate(38, Ics, Line, Tlen+1, Action, Alen);
yystate(42, [10|Ics], Line, Tlen, Action, Alen) ->
yystate(42, Ics, Line+1, Tlen+1, Action, Alen);
yystate(42, [C|Ics], Line, Tlen, Action, Alen) when C >= 0, C =< 9 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(42, [C|Ics], Line, Tlen, Action, Alen) when C >= 11, C =< 33 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(42, [C|Ics], Line, Tlen, Action, Alen) when C >= 35, C =< 91 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(42, [C|Ics], Line, Tlen, Action, Alen) when C >= 93 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(42, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,42};
yystate(41, [C|Ics], Line, Tlen, _, _) when C >= 48, C =< 57 ->
yystate(41, Ics, Line, Tlen+1, 20, Tlen);
yystate(41, [C|Ics], Line, Tlen, _, _) when C >= 65, C =< 70 ->
yystate(41, Ics, Line, Tlen+1, 20, Tlen);
yystate(41, [C|Ics], Line, Tlen, _, _) when C >= 97, C =< 102 ->
yystate(41, Ics, Line, Tlen+1, 20, Tlen);
yystate(41, Ics, Line, Tlen, _, _) ->
{20,Tlen,Ics,Line,41};
yystate(40, Ics, Line, Tlen, _, _) ->
{15,Tlen,Ics,Line};
yystate(39, Ics, Line, Tlen, _, _) ->
{16,Tlen,Ics,Line};
yystate(38, Ics, Line, Tlen, _, _) ->
{14,Tlen,Ics,Line};
yystate(37, [C|Ics], Line, Tlen, Action, Alen) when C >= 48, C =< 55 ->
yystate(33, Ics, Line, Tlen+1, Action, Alen);
yystate(37, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,37};
yystate(36, [124|Ics], Line, Tlen, Action, Alen) ->
yystate(32, Ics, Line, Tlen+1, Action, Alen);
yystate(36, [120|Ics], Line, Tlen, Action, Alen) ->
yystate(28, Ics, Line, Tlen+1, Action, Alen);
yystate(36, [92|Ics], Line, Tlen, Action, Alen) ->
yystate(36, Ics, Line, Tlen+1, Action, Alen);
yystate(36, [10|Ics], Line, Tlen, Action, Alen) ->
yystate(44, Ics, Line+1, Tlen+1, Action, Alen);
yystate(36, [C|Ics], Line, Tlen, Action, Alen) when C >= 0, C =< 9 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(36, [C|Ics], Line, Tlen, Action, Alen) when C >= 11, C =< 91 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(36, [C|Ics], Line, Tlen, Action, Alen) when C >= 93, C =< 119 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(36, [C|Ics], Line, Tlen, Action, Alen) when C >= 121, C =< 123 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(36, [C|Ics], Line, Tlen, Action, Alen) when C >= 125 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(36, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,36};
yystate(35, [120|Ics], Line, Tlen, Action, Alen) ->
yystate(45, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [116|Ics], Line, Tlen, Action, Alen) ->
yystate(39, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [111|Ics], Line, Tlen, Action, Alen) ->
yystate(37, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [102|Ics], Line, Tlen, Action, Alen) ->
yystate(39, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [100|Ics], Line, Tlen, Action, Alen) ->
yystate(29, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [98|Ics], Line, Tlen, Action, Alen) ->
yystate(21, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [96|Ics], Line, Tlen, Action, Alen) ->
yystate(43, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [92|Ics], Line, Tlen, Action, Alen) ->
yystate(47, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [88|Ics], Line, Tlen, Action, Alen) ->
yystate(45, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [79|Ics], Line, Tlen, Action, Alen) ->
yystate(37, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [68|Ics], Line, Tlen, Action, Alen) ->
yystate(29, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [66|Ics], Line, Tlen, Action, Alen) ->
yystate(21, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [59|Ics], Line, Tlen, Action, Alen) ->
yystate(9, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [44|Ics], Line, Tlen, Action, Alen) ->
yystate(6, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [40|Ics], Line, Tlen, Action, Alen) ->
yystate(14, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [39|Ics], Line, Tlen, Action, Alen) ->
yystate(18, Ics, Line, Tlen+1, Action, Alen);
yystate(35, [C|Ics], Line, Tlen, Action, Alen) when C >= 48, C =< 57 ->
yystate(5, Ics, Line, Tlen+1, Action, Alen);
yystate(35, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,35};
yystate(34, [92|Ics], Line, Tlen, _, _) ->
yystate(30, Ics, Line, Tlen+1, 14, Tlen);
yystate(34, [34|Ics], Line, Tlen, _, _) ->
yystate(38, Ics, Line, Tlen+1, 14, Tlen);
yystate(34, [10|Ics], Line, Tlen, _, _) ->
yystate(42, Ics, Line+1, Tlen+1, 14, Tlen);
yystate(34, [C|Ics], Line, Tlen, _, _) when C >= 0, C =< 9 ->
yystate(42, Ics, Line, Tlen+1, 14, Tlen);
yystate(34, [C|Ics], Line, Tlen, _, _) when C >= 11, C =< 33 ->
yystate(42, Ics, Line, Tlen+1, 14, Tlen);
yystate(34, [C|Ics], Line, Tlen, _, _) when C >= 35, C =< 91 ->
yystate(42, Ics, Line, Tlen+1, 14, Tlen);
yystate(34, [C|Ics], Line, Tlen, _, _) when C >= 93 ->
yystate(42, Ics, Line, Tlen+1, 14, Tlen);
yystate(34, Ics, Line, Tlen, _, _) ->
{14,Tlen,Ics,Line,34};
yystate(33, [C|Ics], Line, Tlen, _, _) when C >= 48, C =< 55 ->
yystate(33, Ics, Line, Tlen+1, 18, Tlen);
yystate(33, Ics, Line, Tlen, _, _) ->
{18,Tlen,Ics,Line,33};
yystate(32, [124|Ics], Line, Tlen, _, _) ->
yystate(40, Ics, Line, Tlen+1, 15, Tlen);
yystate(32, [92|Ics], Line, Tlen, _, _) ->
yystate(36, Ics, Line, Tlen+1, 15, Tlen);
yystate(32, [10|Ics], Line, Tlen, _, _) ->
yystate(44, Ics, Line+1, Tlen+1, 15, Tlen);
yystate(32, [C|Ics], Line, Tlen, _, _) when C >= 0, C =< 9 ->
yystate(44, Ics, Line, Tlen+1, 15, Tlen);
yystate(32, [C|Ics], Line, Tlen, _, _) when C >= 11, C =< 91 ->
yystate(44, Ics, Line, Tlen+1, 15, Tlen);
yystate(32, [C|Ics], Line, Tlen, _, _) when C >= 93, C =< 123 ->
yystate(44, Ics, Line, Tlen+1, 15, Tlen);
yystate(32, [C|Ics], Line, Tlen, _, _) when C >= 125 ->
yystate(44, Ics, Line, Tlen+1, 15, Tlen);
yystate(32, Ics, Line, Tlen, _, _) ->
{15,Tlen,Ics,Line,32};
yystate(31, Ics, Line, Tlen, _, _) ->
{7,Tlen,Ics,Line};
yystate(30, [120|Ics], Line, Tlen, Action, Alen) ->
yystate(22, Ics, Line, Tlen+1, Action, Alen);
yystate(30, [92|Ics], Line, Tlen, Action, Alen) ->
yystate(30, Ics, Line, Tlen+1, Action, Alen);
yystate(30, [34|Ics], Line, Tlen, Action, Alen) ->
yystate(34, Ics, Line, Tlen+1, Action, Alen);
yystate(30, [10|Ics], Line, Tlen, Action, Alen) ->
yystate(42, Ics, Line+1, Tlen+1, Action, Alen);
yystate(30, [C|Ics], Line, Tlen, Action, Alen) when C >= 0, C =< 9 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(30, [C|Ics], Line, Tlen, Action, Alen) when C >= 11, C =< 33 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(30, [C|Ics], Line, Tlen, Action, Alen) when C >= 35, C =< 91 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(30, [C|Ics], Line, Tlen, Action, Alen) when C >= 93, C =< 119 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(30, [C|Ics], Line, Tlen, Action, Alen) when C >= 121 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(30, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,30};
yystate(29, [C|Ics], Line, Tlen, Action, Alen) when C >= 48, C =< 57 ->
yystate(25, Ics, Line, Tlen+1, Action, Alen);
yystate(29, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,29};
yystate(28, [124|Ics], Line, Tlen, Action, Alen) ->
yystate(40, Ics, Line, Tlen+1, Action, Alen);
yystate(28, [92|Ics], Line, Tlen, Action, Alen) ->
yystate(36, Ics, Line, Tlen+1, Action, Alen);
yystate(28, [10|Ics], Line, Tlen, Action, Alen) ->
yystate(44, Ics, Line+1, Tlen+1, Action, Alen);
yystate(28, [C|Ics], Line, Tlen, Action, Alen) when C >= 0, C =< 9 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(28, [C|Ics], Line, Tlen, Action, Alen) when C >= 11, C =< 47 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(28, [C|Ics], Line, Tlen, Action, Alen) when C >= 48, C =< 57 ->
yystate(24, Ics, Line, Tlen+1, Action, Alen);
yystate(28, [C|Ics], Line, Tlen, Action, Alen) when C >= 58, C =< 64 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(28, [C|Ics], Line, Tlen, Action, Alen) when C >= 65, C =< 70 ->
yystate(24, Ics, Line, Tlen+1, Action, Alen);
yystate(28, [C|Ics], Line, Tlen, Action, Alen) when C >= 71, C =< 91 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(28, [C|Ics], Line, Tlen, Action, Alen) when C >= 93, C =< 96 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(28, [C|Ics], Line, Tlen, Action, Alen) when C >= 97, C =< 102 ->
yystate(24, Ics, Line, Tlen+1, Action, Alen);
yystate(28, [C|Ics], Line, Tlen, Action, Alen) when C >= 103, C =< 123 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(28, [C|Ics], Line, Tlen, Action, Alen) when C >= 125 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(28, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,28};
yystate(27, Ics, Line, Tlen, _, _) ->
{12,Tlen,Ics,Line};
yystate(26, [92|Ics], Line, Tlen, Action, Alen) ->
yystate(30, Ics, Line, Tlen+1, Action, Alen);
yystate(26, [59|Ics], Line, Tlen, Action, Alen) ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(26, [58|Ics], Line, Tlen, Action, Alen) ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(26, [34|Ics], Line, Tlen, Action, Alen) ->
yystate(38, Ics, Line, Tlen+1, Action, Alen);
yystate(26, [10|Ics], Line, Tlen, Action, Alen) ->
yystate(42, Ics, Line+1, Tlen+1, Action, Alen);
yystate(26, [C|Ics], Line, Tlen, Action, Alen) when C >= 0, C =< 9 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(26, [C|Ics], Line, Tlen, Action, Alen) when C >= 11, C =< 33 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(26, [C|Ics], Line, Tlen, Action, Alen) when C >= 35, C =< 47 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(26, [C|Ics], Line, Tlen, Action, Alen) when C >= 48, C =< 57 ->
yystate(26, Ics, Line, Tlen+1, Action, Alen);
yystate(26, [C|Ics], Line, Tlen, Action, Alen) when C >= 60, C =< 64 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(26, [C|Ics], Line, Tlen, Action, Alen) when C >= 65, C =< 70 ->
yystate(26, Ics, Line, Tlen+1, Action, Alen);
yystate(26, [C|Ics], Line, Tlen, Action, Alen) when C >= 71, C =< 91 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(26, [C|Ics], Line, Tlen, Action, Alen) when C >= 93, C =< 96 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(26, [C|Ics], Line, Tlen, Action, Alen) when C >= 97, C =< 102 ->
yystate(26, Ics, Line, Tlen+1, Action, Alen);
yystate(26, [C|Ics], Line, Tlen, Action, Alen) when C >= 103 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(26, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,26};
yystate(25, [C|Ics], Line, Tlen, _, _) when C >= 48, C =< 57 ->
yystate(25, Ics, Line, Tlen+1, 19, Tlen);
yystate(25, Ics, Line, Tlen, _, _) ->
{19,Tlen,Ics,Line,25};
yystate(24, [124|Ics], Line, Tlen, Action, Alen) ->
yystate(40, Ics, Line, Tlen+1, Action, Alen);
yystate(24, [92|Ics], Line, Tlen, Action, Alen) ->
yystate(36, Ics, Line, Tlen+1, Action, Alen);
yystate(24, [59|Ics], Line, Tlen, Action, Alen) ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(24, [58|Ics], Line, Tlen, Action, Alen) ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(24, [10|Ics], Line, Tlen, Action, Alen) ->
yystate(44, Ics, Line+1, Tlen+1, Action, Alen);
yystate(24, [C|Ics], Line, Tlen, Action, Alen) when C >= 0, C =< 9 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(24, [C|Ics], Line, Tlen, Action, Alen) when C >= 11, C =< 47 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(24, [C|Ics], Line, Tlen, Action, Alen) when C >= 48, C =< 57 ->
yystate(24, Ics, Line, Tlen+1, Action, Alen);
yystate(24, [C|Ics], Line, Tlen, Action, Alen) when C >= 60, C =< 64 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(24, [C|Ics], Line, Tlen, Action, Alen) when C >= 65, C =< 70 ->
yystate(24, Ics, Line, Tlen+1, Action, Alen);
yystate(24, [C|Ics], Line, Tlen, Action, Alen) when C >= 71, C =< 91 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(24, [C|Ics], Line, Tlen, Action, Alen) when C >= 93, C =< 96 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(24, [C|Ics], Line, Tlen, Action, Alen) when C >= 97, C =< 102 ->
yystate(24, Ics, Line, Tlen+1, Action, Alen);
yystate(24, [C|Ics], Line, Tlen, Action, Alen) when C >= 103, C =< 123 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(24, [C|Ics], Line, Tlen, Action, Alen) when C >= 125 ->
yystate(44, Ics, Line, Tlen+1, Action, Alen);
yystate(24, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,24};
yystate(23, [124|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(23, [92|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(23, [58|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(23, [33|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(23, [C|Ics], Line, Tlen, _, _) when C >= 35, C =< 39 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(23, [C|Ics], Line, Tlen, _, _) when C >= 42, C =< 47 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(23, [C|Ics], Line, Tlen, _, _) when C >= 48, C =< 57 ->
yystate(12, Ics, Line, Tlen+1, 24, Tlen);
yystate(23, [C|Ics], Line, Tlen, _, _) when C >= 60, C =< 90 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(23, [C|Ics], Line, Tlen, _, _) when C >= 94, C =< 122 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(23, [C|Ics], Line, Tlen, _, _) when C >= 126 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(23, Ics, Line, Tlen, _, _) ->
{24,Tlen,Ics,Line,23};
yystate(22, [92|Ics], Line, Tlen, Action, Alen) ->
yystate(30, Ics, Line, Tlen+1, Action, Alen);
yystate(22, [34|Ics], Line, Tlen, Action, Alen) ->
yystate(38, Ics, Line, Tlen+1, Action, Alen);
yystate(22, [10|Ics], Line, Tlen, Action, Alen) ->
yystate(42, Ics, Line+1, Tlen+1, Action, Alen);
yystate(22, [C|Ics], Line, Tlen, Action, Alen) when C >= 0, C =< 9 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(22, [C|Ics], Line, Tlen, Action, Alen) when C >= 11, C =< 33 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(22, [C|Ics], Line, Tlen, Action, Alen) when C >= 35, C =< 47 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(22, [C|Ics], Line, Tlen, Action, Alen) when C >= 48, C =< 57 ->
yystate(26, Ics, Line, Tlen+1, Action, Alen);
yystate(22, [C|Ics], Line, Tlen, Action, Alen) when C >= 58, C =< 64 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(22, [C|Ics], Line, Tlen, Action, Alen) when C >= 65, C =< 70 ->
yystate(26, Ics, Line, Tlen+1, Action, Alen);
yystate(22, [C|Ics], Line, Tlen, Action, Alen) when C >= 71, C =< 91 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(22, [C|Ics], Line, Tlen, Action, Alen) when C >= 93, C =< 96 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(22, [C|Ics], Line, Tlen, Action, Alen) when C >= 97, C =< 102 ->
yystate(26, Ics, Line, Tlen+1, Action, Alen);
yystate(22, [C|Ics], Line, Tlen, Action, Alen) when C >= 103 ->
yystate(42, Ics, Line, Tlen+1, Action, Alen);
yystate(22, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,22};
yystate(21, [48|Ics], Line, Tlen, Action, Alen) ->
yystate(17, Ics, Line, Tlen+1, Action, Alen);
yystate(21, [49|Ics], Line, Tlen, Action, Alen) ->
yystate(17, Ics, Line, Tlen+1, Action, Alen);
yystate(21, [40|Ics], Line, Tlen, Action, Alen) ->
yystate(13, Ics, Line, Tlen+1, Action, Alen);
yystate(21, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,21};
yystate(20, Ics, Line, Tlen, _, _) ->
{8,Tlen,Ics,Line};
yystate(19, Ics, Line, Tlen, _, _) ->
{10,Tlen,Ics,Line};
yystate(18, Ics, Line, Tlen, _, _) ->
{2,Tlen,Ics,Line};
yystate(17, [48|Ics], Line, Tlen, _, _) ->
yystate(17, Ics, Line, Tlen+1, 17, Tlen);
yystate(17, [49|Ics], Line, Tlen, _, _) ->
yystate(17, Ics, Line, Tlen+1, 17, Tlen);
yystate(17, Ics, Line, Tlen, _, _) ->
{17,Tlen,Ics,Line,17};
yystate(16, [59|Ics], Line, Tlen, _, _) ->
yystate(16, Ics, Line, Tlen+1, 25, Tlen);
yystate(16, [10|Ics], Line, Tlen, _, _) ->
yystate(50, Ics, Line+1, Tlen+1, 25, Tlen);
yystate(16, [C|Ics], Line, Tlen, _, _) when C >= 0, C =< 9 ->
yystate(16, Ics, Line, Tlen+1, 25, Tlen);
yystate(16, [C|Ics], Line, Tlen, _, _) when C >= 11, C =< 32 ->
yystate(16, Ics, Line, Tlen+1, 25, Tlen);
yystate(16, [C|Ics], Line, Tlen, _, _) when C >= 33, C =< 58 ->
yystate(16, Ics, Line, Tlen+1, 25, Tlen);
yystate(16, [C|Ics], Line, Tlen, _, _) when C >= 60 ->
yystate(16, Ics, Line, Tlen+1, 25, Tlen);
yystate(16, Ics, Line, Tlen, _, _) ->
{25,Tlen,Ics,Line,16};
yystate(15, [64|Ics], Line, Tlen, _, _) ->
yystate(19, Ics, Line, Tlen+1, 9, Tlen);
yystate(15, Ics, Line, Tlen, _, _) ->
{9,Tlen,Ics,Line,15};
yystate(14, Ics, Line, Tlen, _, _) ->
{1,Tlen,Ics,Line};
yystate(13, Ics, Line, Tlen, _, _) ->
{0,Tlen,Ics,Line};
yystate(12, [124|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 22, Tlen);
yystate(12, [92|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 22, Tlen);
yystate(12, [58|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 22, Tlen);
yystate(12, [47|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 22, Tlen);
yystate(12, [46|Ics], Line, Tlen, _, _) ->
yystate(8, Ics, Line, Tlen+1, 22, Tlen);
yystate(12, [33|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 22, Tlen);
yystate(12, [C|Ics], Line, Tlen, _, _) when C >= 35, C =< 39 ->
yystate(46, Ics, Line, Tlen+1, 22, Tlen);
yystate(12, [C|Ics], Line, Tlen, _, _) when C >= 42, C =< 45 ->
yystate(46, Ics, Line, Tlen+1, 22, Tlen);
yystate(12, [C|Ics], Line, Tlen, _, _) when C >= 48, C =< 57 ->
yystate(12, Ics, Line, Tlen+1, 22, Tlen);
yystate(12, [C|Ics], Line, Tlen, _, _) when C >= 60, C =< 90 ->
yystate(46, Ics, Line, Tlen+1, 22, Tlen);
yystate(12, [C|Ics], Line, Tlen, _, _) when C >= 94, C =< 122 ->
yystate(46, Ics, Line, Tlen+1, 22, Tlen);
yystate(12, [C|Ics], Line, Tlen, _, _) when C >= 126 ->
yystate(46, Ics, Line, Tlen+1, 22, Tlen);
yystate(12, Ics, Line, Tlen, _, _) ->
{22,Tlen,Ics,Line,12};
yystate(11, [124|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 11, Tlen);
yystate(11, [92|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 11, Tlen);
yystate(11, [33|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 11, Tlen);
yystate(11, [C|Ics], Line, Tlen, _, _) when C >= 35, C =< 39 ->
yystate(46, Ics, Line, Tlen+1, 11, Tlen);
yystate(11, [C|Ics], Line, Tlen, _, _) when C >= 42, C =< 58 ->
yystate(46, Ics, Line, Tlen+1, 11, Tlen);
yystate(11, [C|Ics], Line, Tlen, _, _) when C >= 60, C =< 90 ->
yystate(46, Ics, Line, Tlen+1, 11, Tlen);
yystate(11, [C|Ics], Line, Tlen, _, _) when C >= 94, C =< 122 ->
yystate(46, Ics, Line, Tlen+1, 11, Tlen);
yystate(11, [C|Ics], Line, Tlen, _, _) when C >= 126 ->
yystate(46, Ics, Line, Tlen+1, 11, Tlen);
yystate(11, Ics, Line, Tlen, _, _) ->
{11,Tlen,Ics,Line,11};
yystate(10, Ics, Line, Tlen, _, _) ->
{6,Tlen,Ics,Line};
yystate(9, Ics, Line, Tlen, _, _) ->
{4,Tlen,Ics,Line};
yystate(8, [124|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(8, [92|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(8, [58|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(8, [33|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(8, [C|Ics], Line, Tlen, _, _) when C >= 35, C =< 39 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(8, [C|Ics], Line, Tlen, _, _) when C >= 42, C =< 47 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(8, [C|Ics], Line, Tlen, _, _) when C >= 48, C =< 57 ->
yystate(4, Ics, Line, Tlen+1, 24, Tlen);
yystate(8, [C|Ics], Line, Tlen, _, _) when C >= 60, C =< 90 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(8, [C|Ics], Line, Tlen, _, _) when C >= 94, C =< 122 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(8, [C|Ics], Line, Tlen, _, _) when C >= 126 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(8, Ics, Line, Tlen, _, _) ->
{24,Tlen,Ics,Line,8};
yystate(7, [124|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(7, [92|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(7, [58|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(7, [33|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(7, [C|Ics], Line, Tlen, _, _) when C >= 35, C =< 39 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(7, [C|Ics], Line, Tlen, _, _) when C >= 42, C =< 47 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(7, [C|Ics], Line, Tlen, _, _) when C >= 48, C =< 57 ->
yystate(3, Ics, Line, Tlen+1, 24, Tlen);
yystate(7, [C|Ics], Line, Tlen, _, _) when C >= 60, C =< 90 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(7, [C|Ics], Line, Tlen, _, _) when C >= 94, C =< 122 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(7, [C|Ics], Line, Tlen, _, _) when C >= 126 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(7, Ics, Line, Tlen, _, _) ->
{24,Tlen,Ics,Line,7};
yystate(6, [64|Ics], Line, Tlen, _, _) ->
yystate(10, Ics, Line, Tlen+1, 5, Tlen);
yystate(6, Ics, Line, Tlen, _, _) ->
{5,Tlen,Ics,Line,6};
yystate(5, [114|Ics], Line, Tlen, Action, Alen) ->
yystate(1, Ics, Line, Tlen+1, Action, Alen);
yystate(5, [82|Ics], Line, Tlen, Action, Alen) ->
yystate(1, Ics, Line, Tlen+1, Action, Alen);
yystate(5, [C|Ics], Line, Tlen, Action, Alen) when C >= 48, C =< 57 ->
yystate(5, Ics, Line, Tlen+1, Action, Alen);
yystate(5, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,5};
yystate(4, [124|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(4, [101|Ics], Line, Tlen, _, _) ->
yystate(0, Ics, Line, Tlen+1, 23, Tlen);
yystate(4, [92|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(4, [69|Ics], Line, Tlen, _, _) ->
yystate(0, Ics, Line, Tlen+1, 23, Tlen);
yystate(4, [58|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(4, [33|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(4, [C|Ics], Line, Tlen, _, _) when C >= 35, C =< 39 ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(4, [C|Ics], Line, Tlen, _, _) when C >= 42, C =< 47 ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(4, [C|Ics], Line, Tlen, _, _) when C >= 48, C =< 57 ->
yystate(4, Ics, Line, Tlen+1, 23, Tlen);
yystate(4, [C|Ics], Line, Tlen, _, _) when C >= 60, C =< 68 ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(4, [C|Ics], Line, Tlen, _, _) when C >= 70, C =< 90 ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(4, [C|Ics], Line, Tlen, _, _) when C >= 94, C =< 100 ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(4, [C|Ics], Line, Tlen, _, _) when C >= 102, C =< 122 ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(4, [C|Ics], Line, Tlen, _, _) when C >= 126 ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(4, Ics, Line, Tlen, _, _) ->
{23,Tlen,Ics,Line,4};
yystate(3, [124|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(3, [92|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(3, [58|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(3, [33|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(3, [C|Ics], Line, Tlen, _, _) when C >= 35, C =< 39 ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(3, [C|Ics], Line, Tlen, _, _) when C >= 42, C =< 47 ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(3, [C|Ics], Line, Tlen, _, _) when C >= 48, C =< 57 ->
yystate(3, Ics, Line, Tlen+1, 23, Tlen);
yystate(3, [C|Ics], Line, Tlen, _, _) when C >= 60, C =< 90 ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(3, [C|Ics], Line, Tlen, _, _) when C >= 94, C =< 122 ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(3, [C|Ics], Line, Tlen, _, _) when C >= 126 ->
yystate(46, Ics, Line, Tlen+1, 23, Tlen);
yystate(3, Ics, Line, Tlen, _, _) ->
{23,Tlen,Ics,Line,3};
yystate(2, [C|Ics], Line, Tlen, _, _) when C >= 48, C =< 57 ->
yystate(2, Ics, Line, Tlen+1, 21, Tlen);
yystate(2, [C|Ics], Line, Tlen, _, _) when C >= 65, C =< 90 ->
yystate(2, Ics, Line, Tlen+1, 21, Tlen);
yystate(2, [C|Ics], Line, Tlen, _, _) when C >= 97, C =< 122 ->
yystate(2, Ics, Line, Tlen+1, 21, Tlen);
yystate(2, Ics, Line, Tlen, _, _) ->
{21,Tlen,Ics,Line,2};
yystate(1, [C|Ics], Line, Tlen, Action, Alen) when C >= 48, C =< 57 ->
yystate(2, Ics, Line, Tlen+1, Action, Alen);
yystate(1, [C|Ics], Line, Tlen, Action, Alen) when C >= 65, C =< 90 ->
yystate(2, Ics, Line, Tlen+1, Action, Alen);
yystate(1, [C|Ics], Line, Tlen, Action, Alen) when C >= 97, C =< 122 ->
yystate(2, Ics, Line, Tlen+1, Action, Alen);
yystate(1, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,1};
yystate(0, [124|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, [92|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, [58|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, [46|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, [47|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, [45|Ics], Line, Tlen, _, _) ->
yystate(7, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, [44|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, [43|Ics], Line, Tlen, _, _) ->
yystate(7, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, [42|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, [33|Ics], Line, Tlen, _, _) ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, [C|Ics], Line, Tlen, _, _) when C >= 35, C =< 39 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, [C|Ics], Line, Tlen, _, _) when C >= 48, C =< 57 ->
yystate(3, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, [C|Ics], Line, Tlen, _, _) when C >= 60, C =< 90 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, [C|Ics], Line, Tlen, _, _) when C >= 94, C =< 122 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, [C|Ics], Line, Tlen, _, _) when C >= 126 ->
yystate(46, Ics, Line, Tlen+1, 24, Tlen);
yystate(0, Ics, Line, Tlen, _, _) ->
{24,Tlen,Ics,Line,0};
yystate(S, Ics, Line, Tlen, Action, Alen) ->
{Action,Alen,Tlen,Ics,Line,S}.
%% yyaction(Action, TokenLength, TokenChars, TokenLine) ->
%% {token,Token} | {end_token, Token} | skip_token | {error,String}.
%% Generated action function.
yyaction(0, _, _, TokenLine) ->
yyaction_0(TokenLine);
yyaction(1, _, _, TokenLine) ->
yyaction_1(TokenLine);
yyaction(2, _, _, TokenLine) ->
yyaction_2(TokenLine);
yyaction(3, _, _, TokenLine) ->
yyaction_3(TokenLine);
yyaction(4, _, _, TokenLine) ->
yyaction_4(TokenLine);
yyaction(5, _, _, TokenLine) ->
yyaction_5(TokenLine);
yyaction(6, _, _, TokenLine) ->
yyaction_6(TokenLine);
yyaction(7, _, _, TokenLine) ->
yyaction_7(TokenLine);
yyaction(8, _, _, TokenLine) ->
yyaction_8(TokenLine);
yyaction(9, _, _, TokenLine) ->
yyaction_9(TokenLine);
yyaction(10, _, _, TokenLine) ->
yyaction_10(TokenLine);
yyaction(11, _, _, TokenLine) ->
yyaction_11(TokenLine);
yyaction(12, TokenLen, YYtcs, TokenLine) ->
TokenChars = yypre(YYtcs, TokenLen),
yyaction_12(TokenChars, TokenLine);
yyaction(13, TokenLen, YYtcs, TokenLine) ->
TokenChars = yypre(YYtcs, TokenLen),
yyaction_13(TokenChars, TokenLine);
yyaction(14, TokenLen, YYtcs, TokenLine) ->
TokenChars = yypre(YYtcs, TokenLen),
yyaction_14(TokenChars, TokenLen, TokenLine);
yyaction(15, TokenLen, YYtcs, TokenLine) ->
TokenChars = yypre(YYtcs, TokenLen),
yyaction_15(TokenChars, TokenLen, TokenLine);
yyaction(16, TokenLen, YYtcs, TokenLine) ->
TokenChars = yypre(YYtcs, TokenLen),
yyaction_16(TokenChars, TokenLine);
yyaction(17, TokenLen, YYtcs, TokenLine) ->
TokenChars = yypre(YYtcs, TokenLen),
yyaction_17(TokenChars, TokenLine);
yyaction(18, TokenLen, YYtcs, TokenLine) ->
TokenChars = yypre(YYtcs, TokenLen),
yyaction_18(TokenChars, TokenLine);
yyaction(19, TokenLen, YYtcs, TokenLine) ->
TokenChars = yypre(YYtcs, TokenLen),
yyaction_19(TokenChars, TokenLine);
yyaction(20, TokenLen, YYtcs, TokenLine) ->
TokenChars = yypre(YYtcs, TokenLen),
yyaction_20(TokenChars, TokenLine);
yyaction(21, TokenLen, YYtcs, TokenLine) ->
TokenChars = yypre(YYtcs, TokenLen),
yyaction_21(TokenChars, TokenLine);
yyaction(22, TokenLen, YYtcs, TokenLine) ->
TokenChars = yypre(YYtcs, TokenLen),
yyaction_22(TokenChars, TokenLine);
yyaction(23, TokenLen, YYtcs, TokenLine) ->
TokenChars = yypre(YYtcs, TokenLen),
yyaction_23(TokenChars, TokenLine);
yyaction(24, TokenLen, YYtcs, TokenLine) ->
TokenChars = yypre(YYtcs, TokenLen),
yyaction_24(TokenChars, TokenLine);
yyaction(25, _, _, _) ->
yyaction_25();
yyaction(_, _, _, _) -> error.
-compile({inline,yyaction_0/1}).
-file("./lfe_scan.xrl", 44).
yyaction_0(TokenLine) ->
{ token, { '#B(', TokenLine } } .
-compile({inline,yyaction_1/1}).
-file("./lfe_scan.xrl", 45).
yyaction_1(TokenLine) ->
{ token, { '#(', TokenLine } } .
-compile({inline,yyaction_2/1}).
-file("./lfe_scan.xrl", 46).
yyaction_2(TokenLine) ->
{ token, { '#\'', TokenLine } } .
-compile({inline,yyaction_3/1}).
-file("./lfe_scan.xrl", 47).
yyaction_3(TokenLine) ->
{ token, { '#`', TokenLine } } .
-compile({inline,yyaction_4/1}).
-file("./lfe_scan.xrl", 48).
yyaction_4(TokenLine) ->
{ token, { '#;', TokenLine } } .
-compile({inline,yyaction_5/1}).
-file("./lfe_scan.xrl", 49).
yyaction_5(TokenLine) ->
{ token, { '#,', TokenLine } } .
-compile({inline,yyaction_6/1}).
-file("./lfe_scan.xrl", 50).
yyaction_6(TokenLine) ->
{ token, { '#,@', TokenLine } } .
-compile({inline,yyaction_7/1}).
-file("./lfe_scan.xrl", 51).
yyaction_7(TokenLine) ->
{ token, { '\'', TokenLine } } .
-compile({inline,yyaction_8/1}).
-file("./lfe_scan.xrl", 52).
yyaction_8(TokenLine) ->
{ token, { '`', TokenLine } } .
-compile({inline,yyaction_9/1}).
-file("./lfe_scan.xrl", 53).
yyaction_9(TokenLine) ->
{ token, { ',', TokenLine } } .
-compile({inline,yyaction_10/1}).
-file("./lfe_scan.xrl", 54).
yyaction_10(TokenLine) ->
{ token, { ',@', TokenLine } } .
-compile({inline,yyaction_11/1}).
-file("./lfe_scan.xrl", 55).
yyaction_11(TokenLine) ->
{ token, { '.', TokenLine } } .
-compile({inline,yyaction_12/2}).
-file("./lfe_scan.xrl", 56).
yyaction_12(TokenChars, TokenLine) ->
{ token, { list_to_atom (TokenChars), TokenLine } } .
-compile({inline,yyaction_13/2}).
-file("./lfe_scan.xrl", 58).
yyaction_13(TokenChars, TokenLine) ->
char_token (string : substr (TokenChars, 3), TokenLine) .
-compile({inline,yyaction_14/3}).
-file("./lfe_scan.xrl", 62).
yyaction_14(TokenChars, TokenLen, TokenLine) ->
S = string : substr (TokenChars, 2, TokenLen - 2),
{ token, { string, TokenLine, chars (S) } } .
-compile({inline,yyaction_15/3}).
-file("./lfe_scan.xrl", 67).
yyaction_15(TokenChars, TokenLen, TokenLine) ->
S = string : substr (TokenChars, 2, TokenLen - 2),
symbol_token (chars (S), TokenLine) .
-compile({inline,yyaction_16/2}).
-file("./lfe_scan.xrl", 70).
yyaction_16(TokenChars, TokenLine) ->
{ token, { symbol, TokenLine, list_to_atom (TokenChars) } } .
-compile({inline,yyaction_17/2}).
-file("./lfe_scan.xrl", 73).
yyaction_17(TokenChars, TokenLine) ->
base_token (string : substr (TokenChars, 3), 2, TokenLine) .
-compile({inline,yyaction_18/2}).
-file("./lfe_scan.xrl", 74).
yyaction_18(TokenChars, TokenLine) ->
base_token (string : substr (TokenChars, 3), 8, TokenLine) .
-compile({inline,yyaction_19/2}).
-file("./lfe_scan.xrl", 75).
yyaction_19(TokenChars, TokenLine) ->
base_token (string : substr (TokenChars, 3), 10, TokenLine) .
-compile({inline,yyaction_20/2}).
-file("./lfe_scan.xrl", 76).
yyaction_20(TokenChars, TokenLine) ->
base_token (string : substr (TokenChars, 3), 16, TokenLine) .
-compile({inline,yyaction_21/2}).
-file("./lfe_scan.xrl", 79).
yyaction_21(TokenChars, TokenLine) ->
{ Base, [_ | Ds ] } = base1 (string : substr (TokenChars, 2), 10, 0),
base_token (Ds, Base, TokenLine) .
-compile({inline,yyaction_22/2}).
-file("./lfe_scan.xrl", 83).
yyaction_22(TokenChars, TokenLine) ->
case catch { ok, list_to_integer (TokenChars) } of
{ ok, I } -> { token, { number, TokenLine, I } } ;
_ -> { error, "illegal integer" }
end .
-compile({inline,yyaction_23/2}).
-file("./lfe_scan.xrl", 88).
yyaction_23(TokenChars, TokenLine) ->
case catch { ok, list_to_float (TokenChars) } of
{ ok, F } -> { token, { number, TokenLine, F } } ;
_ -> { error, "illegal float" }
end .
-compile({inline,yyaction_24/2}).
-file("./lfe_scan.xrl", 93).
yyaction_24(TokenChars, TokenLine) ->
symbol_token (TokenChars, TokenLine) .
-compile({inline,yyaction_25/0}).
-file("./lfe_scan.xrl", 94).
yyaction_25() ->
skip_token .
-file("/usr/lib/erlang/lib/parsetools-2.0.7/include/leexinc.hrl", 282).

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/andyspider-schem.erl.git
git@api.gitlife.ru:oschina-mirror/andyspider-schem.erl.git
oschina-mirror
andyspider-schem.erl
andyspider-schem.erl
master