blob: 448b3e6ffdf90047112bc6c8b7a2f7bcc3936c6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/*
* Copyright 2019 Joyent, Inc.
*/
typedef struct wordtab {
char *w_word;
int w_value;
} wordtab_t;
#ifdef NO_YACC
#define YY_COMMENT 1000
#define YY_CMP_NE 1001
#define YY_CMP_LE 1002
#define YY_RANGE_OUT 1003
#define YY_CMP_GE 1004
#define YY_RANGE_IN 1005
#define YY_HEX 1006
#define YY_NUMBER 1007
#define YY_IPV6 1008
#define YY_STR 1009
#define YY_IPADDR 1010
#define YY_UUID 1011
#endif
#define YYBUFSIZ 8192
extern wordtab_t *yysettab __P((wordtab_t *));
extern void yysetdict __P((wordtab_t *));
extern int yylex __P((void));
extern void yyerror __P((char *));
extern char *yykeytostr __P((int));
extern void yyresetdict __P((void));
extern FILE *yyin;
extern int yylineNum;
extern int yyexpectaddr;
extern int yybreakondot;
extern int yyvarnext;
|