Lines Matching defs:lex
54 static unsigned char lex[256];
56 if (!lex[0])
58 for (c = 0; c < sizeof(lex); ++c)
59 lex[c] = END;
60 lex['0'] = 0;
61 lex['1'] = 1;
62 lex['2'] = 2;
63 lex['3'] = 3;
64 lex['4'] = 4;
65 lex['5'] = 5;
66 lex['6'] = 6;
67 lex['7'] = 7;
68 lex['8'] = 8;
69 lex['9'] = 9;
70 lex['A'] = lex['a'] = 10;
71 lex['B'] = lex['b'] = 11;
72 lex['C'] = lex['c'] = 12;
73 lex['D'] = lex['d'] = 13;
74 lex['E'] = lex['e'] = 14;
75 lex['F'] = lex['f'] = 15;
76 lex[':'] = COL;
77 lex['.'] = DOT;
78 lex['/'] = PFX;
87 switch (c = lex[*((unsigned char*)s++)])
110 if ((c = lex[*((unsigned char*)++s)]) >= 16)
127 switch (c = lex[*((unsigned char*)s++)])
158 if ((c = lex[*((unsigned char*)++s)]) >= 16)
193 while ((c = lex[*((unsigned char*)s++)]) < 10)