Siemens GENERAL INTERFACE FOR NETWORK APPLICATIONS V 4.0 Manual de usuario Pagina 80

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 244
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 79
68 GINA V4.0 System Administrator Guide – September 2000
Configuration language
6.2.2 Lexical structure
This section describes how the configuration generator combines the contents of the con-
figuration file into symbols (like the keywords) for syntax analysis. The description is in the
notation used by the UNIX command lex.
%{
%}
letter [a-zA-Z_]
DGS [0-9]+
letter_or_digit [a-zA-Z_0-9]
%%
[ \t\n\v\r\f]+ ;
\/\/.*\n ;
\{ {return(BBOPEN);}
\} {return(BBCLOSE);}
\( {return(SBOPEN);}
\) {return(SBCLOSE);}
\, {return(COMMA);}
\= {return(EQUAL);}
{DGS} {yylval.number=atol(yytext);
return(NUMBER);}
{DGS}\.{DGS}\.{DGS}\.{DGS} {strcpy(yylval.string,yytext);
return(INADDRESS);};
\"[^"\n]* {yytext[yyleng++] = yyinput();
yytext[yyleng] = '\0';
lettercpy(yylval.string,yytext);
return(LETTER);};
{letter}{letter_or_digit}* {return(rwlookup());};
. {return(ERROR);};
%%
Vista de pagina 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 ... 243 244

Comentarios a estos manuales

Sin comentarios