121 |
%% |
%% |
122 |
|
|
123 |
^{_SPACJE}+ /* wcinamy spacje */ |
^{_SPACJE}+ /* wcinamy spacje */ |
124 |
^{_SPACJE}*{_KOMENTARZ}{1}.*[^\n] /* ...i komentarze */ |
^{_SPACJE}*{_KOMENTARZ}+.*[^\n] /* ...i komentarze */ |
125 |
|
|
126 |
{_ETYKIETA}":" { |
{_ETYKIETA}":" { |
127 |
yylval.string = yytext; |
yylval.string = yytext; |
170 |
{_R_SRL}{_SPACJE} yylval.lcalk = OPC_SRL; return(R_SRL); |
{_R_SRL}{_SPACJE} yylval.lcalk = OPC_SRL; return(R_SRL); |
171 |
{_R_SRA}{_SPACJE} yylval.lcalk = OPC_SRA; return(R_SRA); |
{_R_SRA}{_SPACJE} yylval.lcalk = OPC_SRA; return(R_SRA); |
172 |
{_R_JMPL}{_SPACJE} yylval.lcalk = OPC_JMPL; return(R_JMPL); |
{_R_JMPL}{_SPACJE} yylval.lcalk = OPC_JMPL; return(R_JMPL); |
173 |
{_R_SAVE}{_SPACJE} yylval.lcalk = OPC_SAVE; return(R_SAVE); |
{_R_SAVE}{_SPACJE}* yylval.lcalk = OPC_SAVE; return(R_SAVE); |
174 |
{_R_RESTORE}{_SPACJE}* yylval.lcalk = OPC_RESTORE; return(R_RESTORE); |
{_R_RESTORE}{_SPACJE}* yylval.lcalk = OPC_RESTORE; return(R_RESTORE); |
175 |
{_R_SETHI}{_SPACJE} return(R_SETHI); |
{_R_SETHI}{_SPACJE} return(R_SETHI); |
176 |
{_R_CALL}{_SPACJE} return(R_CALL); |
{_R_CALL}{_SPACJE} return(R_CALL); |
335 |
{_KOMENTARZ}+.*[^\n] /* komentarze po jakiejś komendzie/dyrektywie... */ |
{_KOMENTARZ}+.*[^\n] /* komentarze po jakiejś komendzie/dyrektywie... */ |
336 |
{_SPACJE}+ /* zbędne spacje */ |
{_SPACJE}+ /* zbędne spacje */ |
337 |
|
|
338 |
|
|
339 |
\n ++numerLinii; return (NLINIA); |
\n ++numerLinii; return (NLINIA); |
340 |
. return ((char) *yytext); |
. return ((char) *yytext); |