/[pdpsoft]/trunk/grid-mw-security/ees/src/eval_man/pdl_lex.l
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/src/eval_man/pdl_lex.l

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1157 by aramv, Mon Nov 9 13:34:12 2009 UTC revision 1158 by aramv, Fri Nov 20 14:04:55 2009 UTC
# Line 36  pdlstr       \"[^\"\n]*[\"\n] Line 36  pdlstr       \"[^\"\n]*[\"\n]
36  {label}      { yytext[yyleng-1] = '\0';   /* remove trailing ':' */  {label}      { yytext[yyleng-1] = '\0';   /* remove trailing ':' */
37    
38                 /*  Check if this policy rule is allowed or not. */                 /*  Check if this policy rule is allowed or not. */
39                   /*
40                 if (allowed_policy_rule(yytext)) {                 if (allowed_policy_rule(yytext)) {
41                   allow_rules(TRUE);                   allow_rules(TRUE);
42                 } else {                 } else {
43                     */
44                   /*  This label should not be added, however normal parsing                   /*  This label should not be added, however normal parsing
45                    *  must continue.  */                    *  must continue.  */
46                   allow_rules(FALSE);                   /* allow_rules(FALSE);*/
47                 }                 /* } */
48                 if ((yylval.record = (record_t*)malloc(sizeof(record_t))))                 if ((yylval.record = (record_t*)malloc(sizeof(record_t))))
49                   if (((yylval.record)->string = (char *) strdup(yytext))) {                   if (((yylval.record)->string = (char *) strdup(yytext))) {
50                     (yylval.record)->lineno = lineno;                     (yylval.record)->lineno = lineno;

Legend:
Removed from v.1157  
changed lines
  Added in v.1158

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28