Lines Matching refs:IF
35 int infunc = 0; /* = 1 if in arglist or body of func */
36 int inloop = 0; /* = 1 if in while, for, do */
56 %token <i> SUB GSUB IF INDEX LSUBSTR MATCHFCN NEXT NEXTFILE
70 %type <p> for if else while
83 %left GSUB IF INDEX LSUBSTR MATCHFCN NEXT NUMBER
98 pas { if (errorflag==0)
137 if:
138 IF '(' pattern rparen { $$ = notnull($3); }
208 { if (constnode($3))
235 { if (constnode($3))
242 if (safe) SYNTAX("cmd | getline is unsafe");
245 if (safe) SYNTAX("cmd | getline is unsafe");
296 if (safe) SYNTAX("print | is unsafe");
299 if (safe) SYNTAX("print >> is unsafe");
302 if (safe) SYNTAX("print > is unsafe");
317 BREAK st { if (!inloop) SYNTAX("break illegal outside of loops");
319 | CONTINUE st { if (!inloop) SYNTAX("continue illegal outside of loops");
326 | if stmt else stmt { $$ = stat3(IF, $1, $2, $4); }
327 | if stmt { $$ = stat3(IF, $1, $2, NIL); }
329 | NEXT st { if (infunc)
332 | NEXTFILE st { if (infunc)
385 { if (constnode($5))
401 { if (constnode($3))
408 { if (constnode($3))
449 if (isarr(p))
451 else if (isfcn(p))
477 void checkdup(Node *vl, Cell *cp) /* check if name already in list */
481 if (strcmp(s, ((Cell *)(vl->narg[0]))->nval) == 0) {