cleanup-licensing-and-transarc-references-20030309
[openafs.git] / src / comerr / et_lex.lex.l
1 PC      [^\"]
2 AN      [A-Z_a-z0-9]
3 %%
4
5 error_table     return ERROR_TABLE;
6 et              return ERROR_TABLE;
7 error_code      return ERROR_CODE_ENTRY;
8 ec              return ERROR_CODE_ENTRY;
9 end             return END;
10
11 [\t\n\r ]               ;
12
13 \"{PC}*\"       { register char *p; yylval.dynstr = ds((char *)yytext+1);
14                   if ((p=strrchr(yylval.dynstr, '"'))) *p='\0';
15                   return QUOTED_STRING;
16                 }
17
18 {AN}*   { yylval.dynstr = ds((char *)yytext); return STRING; }
19
20 #.*\n           ;
21
22 .               { return (*yytext); }
23 %%
24 /* 
25  * Copyright 2000, International Business Machines Corporation and others.
26  * All Rights Reserved.
27  * 
28  * This software has been released under the terms of the IBM Public
29  * License.  For details, see the LICENSE file in the top-level source
30  * directory or online at http://www.openafs.org/dl/license10.html
31  */
32 int yywrap(void) {
33   return 1;
34 }