File: yylex.ci

package info (click to toggle)
unixodbc 2.1.1-8
  • links: PTS
  • area: main
  • in suites: woody
  • size: 12,668 kB
  • ctags: 12,486
  • sloc: ansic: 107,685; cpp: 33,663; sh: 13,300; makefile: 2,926; yacc: 499; lex: 241; sed: 93; sql: 1
file content (63 lines) | stat: -rw-r--r-- 1,204 bytes parent folder | download | duplicates (12)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
static keywd_ent_t	keywd_tab[] =
{
	kwd_select,	"select",
	kwd_all,	"all",
	kwd_news,	"news",
	kwd_xnews,	"xnews",
	kwd_distinct,	"distinct",
	kwd_count,	"count",
	kwd_from,	"from",
	kwd_where,	"where",
	kwd_group,	"group",
	kwd_by, 	"by",
	kwd_having,	"having",
	kwd_order,	"order",
	kwd_insert,	"insert",
	kwd_into,	"into",
	kwd_values,	"values",
	kwd_delete,	"delete",
	kwd_is, 	"is",
	kwd_null,	"null",
	kwd_update,	"update",
	kwd_create,	"create",
	kwd_alter,	"alter",
	kwd_drop,	"drop",
	kwd_for,	"for",
	kwd_of, 	"of",
	kwd_current,	"current",
	kwd_grant,	"grant",
	kwd_revoke,	"revoke",
	kwd_in, 	"in",
	kwd_like,	"like",
	kwd_escape,	"escape",
	kwd_between,	"between",
	kwd_call,	"call",
	kwd_or, 	"or",
	kwd_and,	"and",
	kwd_not,	"not",
	kwd_index,	"index",
	kwd_view,	"view",
	kwd_table,	"table",
	kwd_column,	"column",
	kwd_case,	"case",
	kwd_uncase,	"uncase"
};

static keywd_ent_t xkeywd_tab[] =
/* keyword which scope in an extersion block -- { extension } */
{
	kwd_fn, 	"fn",
	kwd_d,		"d"
};

static keywd_ent_t	cmpop_tab[] =
{
	en_cmpop_eq,	"=",
	en_cmpop_eq,	"==",
	en_cmpop_ne,	"<>",
	en_cmpop_ne,	"!=",
	en_cmpop_gt,	">",
	en_cmpop_ge,	">=",
	en_cmpop_lt,	"<",
	en_cmpop_le,	"<="
};