Searched refs:istype (Results 1 - 9 of 9) sorted by relevance

/ast/src/cmd/nmake/
H A Dscan.c758 while (*s && istype(*s, C_ID1|C_ID2))
877 else if (istype(c, C_VARPOS1) && state.fullscan)
883 else if (istype(c, C_ID1|C_ID2))
899 if (istype(c, t))
901 else if (t == (C_ID1|C_ID2) || !istype(c, C_ID1|C_ID2))
1370 if (typ == DIG || typ == SPC || typ == NAM && istype(c, C_VARIABLE1) || typ == TOK && istype(c, C_VARIABLE1|C_VARIABLE2))
1373 if (typ == SPC ? isspace(c) : typ == DIG ? isdigit(c) : istype(c, C_VARIABLE1|C_VARIABLE2))
1623 else if (n && istype(c, C_ID1))
1625 if (istype(
[all...]
H A Dmisc.c386 if (*s && !istype(*s, C_ID1))
389 if (!istype(*s, C_ID1|C_ID2))
415 if (!istype(*s, C_VARIABLE1|C_VARIABLE2))
H A Dparse.c259 if (istype(*s, C_TERMINAL))
969 for (t = s; istype(*t, C_VARIABLE2); t++);
970 if (istype(c = *t, C_SEP))
1612 if (istype(*t, C_ID1))
1613 while (istype(*++t, C_ID2));
2445 for (s = name + 1; istype(*s, C_ID1|C_ID2); s++);
2536 if ((r->property & P_readonly) || (r->property & P_staterule) && !istype(*(r->name + 1), C_ID1))
2676 if (*s == ':' && istype(*++s, C_ID1))
2677 while (istype(*++s, C_ID2));
2910 if (!istype(*
[all...]
H A Ddump.c47 for (t = s, paren = 0; *t && (paren || !istype(*t, C_TERMINAL)); t++)
439 for (q = (char*)s; istype(*q, C_ID1|C_ID2); q++);
H A Drule.c70 q = istype(*s, C_ID1) ? (NAME_identifier|NAME_variable) : istype(*s, C_VARIABLE1) ? NAME_variable : 0;
137 if ((q & NAME_variable) && !istype(*(s - 1), C_VARIABLE1|C_VARIABLE2))
139 else if ((q & NAME_identifier) && !istype(*(s - 1), C_ID1|C_ID2))
276 if ((s = r->name) && !istype(*s, C_ID2))
H A Dvariable.c162 else if (!istype(*s, C_VARIABLE1|C_ID1|C_ID2))
532 if (istype(*s, C_ID1))
550 if (state.reading && !state.global && istype(*s, C_ID1) && (v = setvar(s, null, 0)))
609 if (!(isid = !!(n & NAME_identifier)) && !(n & (NAME_variable|NAME_intvar)) && !istype(*s, C_VARIABLE1|C_ID1|C_ID2) && *s != '(')
824 if (istype(*s, C_ID1))
826 for (t = s; istype(*t, C_ID1|C_ID2); t++);
869 if (istype(*t, C_ID1))
871 while (istype(*t, C_ID2))
H A Dmake.h141 #define istype(c,t) (ctable[c]&(t)) macro
202 #define C_ID1 (1<<0) /* istype() first identifier char */
203 #define C_ID2 (1<<1) /* istype() remaining id chars */
204 #define C_MATCH (1<<2) /* istype() shell pattern match chars */
205 #define C_OPTVAL (1<<3) /* istype() option value separator */
206 #define C_SEP (1<<4) /* istype() token separator */
207 #define C_TERMINAL (1<<5) /* istype() terminal chars */
208 #define C_VARIABLE1 (1<<6) /* istype() first variable name char */
209 #define C_VARIABLE2 (1<<7) /* istype() remaining variable chars */
211 #define C_VARPOS1 (1<<8) /* istype() va
[all...]
H A Doption.c1908 else if (istype(c, C_TERMINAL) && c != '+' && c != '&')
H A Dexpand.c1457 for (u = t += 2; istype(*u, C_ID1|C_ID2) || *u == '-' || *u == '/' && (a = u); u++);
1508 for (u = b; istype(*b, C_ID1|C_ID2) || *b == '-'; b++);
1907 if (istype(c, C_VARIABLE1|C_VARIABLE2))

Completed in 50 milliseconds