From: Narasimha S. <nsh...@us...> - 2011-05-11 17:45:15
|
Update of /cvsroot/sblim/cmpi-nfsv3/util/parser In directory vz-cvs-3.sog:/tmp/cvs-serv19774/util/parser Modified Files: lexer.l Log Message: [3299507] obtain full hostname using etab entry Index: lexer.l =================================================================== RCS file: /cvsroot/sblim/cmpi-nfsv3/util/parser/lexer.l,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- lexer.l 5 Feb 2007 09:44:16 -0000 1.2 +++ lexer.l 11 May 2011 17:45:13 -0000 1.3 @@ -7,9 +7,9 @@ #include <string.h> #include "cmpidt.h" #include "parser.h" -#ifndef YY_FLEX_LEX_COMPAT +/* #ifndef YY_FLEX_LEX_COMPAT int yylineno = 1; -#endif +#endif */ char * NFSv3comments = NULL; /* String buffer to accumulate comments */ %} @@ -53,7 +53,6 @@ /* The following lexical tokens return the token identifier and the value of the token (in yylval) */ -all_squash | no_root_squash | root_squash { yylval.string = (char *)strdup(yytext); @@ -90,6 +89,24 @@ return(HIDE); } +crossmnt | +nocrossmnt { + yylval.boolean = !strcmp(yytext,"crossmnt"); + return(CROSSMNT); + } + +all_squash | +no_all_squash { + yylval.string = (char *)strdup(yytext); + return(ALLSQUASH); + } + +acl | +no_acl { + yylval.boolean = !strcmp(yytext,"acl"); + return(ACL); + } + subtree_check | no_subtree_check { yylval.boolean = !strcmp(yytext,"subtree_check"); |